Tag: String

Why String is immutable or final in Java? Immutable String in java.

If you are preparing for a java interview then this is one of the most interesting question you will encounter. Immutability means once created can not be changed. If someone changes the string object then new object will be created. For Java world, String Class is heart of Java language. If we talk about another

Read more

Strings in Java

Introduction: Strings in Java are immutable objects. This means that once a string object has been created, its contents cannot be modified. Strings are created with the String class, which offers several constructors and methods to manipulate strings. In Java, a String is an object that represents a sequence of characters. String literals are created

Read more

Please disable your adblocker or whitelist this site!

How to whitelist website on AdBlocker?

How to whitelist website on AdBlocker?

  1. 1 Click on the AdBlock Plus icon on the top right corner of your browser
  2. 2 Click on "Enabled on this site" from the AdBlock Plus option
  3. 3 Refresh the page and start browsing the site