< Prev
Next >

What is String?

What is String?

String is a nothing but a sequence of characters within double quotes. For example - "Hello World" is a String literal, using it we can create a String object, which is an instance of String class.

How a String object is created?

A String object can be constructed in various ways and some are explained below -:

Please Subscribe

Please subscribe to our social media channels for daily updates.

Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page