Java2Blog
  • Home
  • Core Java
  • Tutorials
    • Spring
    • Spring Boot
    • Spring MVC
    • Java 8
    • Hibernate
  • Categories
    • Interview Questions
    • Spring Frameworks
    • Core java
    • Python
    • C++
  • NM
close
import_contacts

Java Tutorials

  • Core Java
  • Java Interview questions
  • Java 8 Stream
  • Java interview programs
import_contacts

Data structure and algorithm

  • Data structure in java
  • Data structure interview questions
import_contacts

Spring tutorials

  • Spring tutorial
  • Spring boot tutorial
  • Spring MVC tutorial
  • Spring interview questions

String

  • Split String by new line in java
    String
    09 May

    How to split String by newline in java

    Learn about how to split String by newline in java

    Read More
  • Convert chartacter to ascii in java
    Character
    04 May

    Convert Character to ASCII Numeric Value in Java

    Learn about how to convert Character to ASCII Numeric Value in Java.

    Read More
  • String
    15 April

    How to declare a String array in java

    Learn about how to declare String array in java.

    Read More
  • Escape double quotes in String in Java
    String
    19 January

    How to escape double quotes in String in java

    In this post, we will see how to escape double quotes in String in java. There are scenarios where you need to escape double quotes already present in the String. This generally happens while dealing with JSON file format or reading file data. Escape double quotes in java Double quotes characters can be escaped with […]

    Read More
  • Basic java programs String
    24 December

    How to capitalize first letter in java

    Learn about how to capitalize first letter in java.

    Read More
  • String
    06 December

    Difference between replace() and replaceAll() in java

    In this post, we will see difference between String’s replace() and replaceAll() methods in java. String’s replace() and replaceAll() both replace all occurences in the String. String’s replace() takes either two chars or two CharSequences as arguments and it will replace all occurrences of char or String but replaceAll() method takes regex String as argument […]

    Read More
  • Character
    30 September

    How to compare characters in Java

    Learn about how to compare characters in java using different methods.

    Read More
  • String
    24 April

    Add character to String in java

    In this post, we will see how to add character to String in java. There are multiple ways to add character to String. Add character to the start of String You can add character at start of String using + operator. [crayon-62be794b102ca227900861/] Add character to the end of String You can add character at start […]

    Read More
  • String
    24 March

    Initialize List of String in java

    In this post, we will see how to initialize List of String in java. Can you initialize List of String as below: [crayon-62be794b10861570637812/] You can't because List is an interface and it can not be instantiated with new List(). You need to instantiate it with the class that implements the List interface. Here are the […]

    Read More
  • keyboard_arrow_left Previous
  • 1
  • 2
  • 3
  • 4
  • …
  • 9
  • Nextkeyboard_arrow_right

Newsletter


Let’s be Friends

  • Facebook
  • Twitter
  • LinkedIn

© 2020 Java2Blog