< 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 our social media channels for notifications, we post a new article everyday.

Decodejava Google+ Page Decodejava Facebook Page  DecodeJava Twitter Page

Coming Next