What is string literal in java?



What is string literal in java?..

Answer / Divyanshu Kumar Singh

"A sequence of characters enclosed within double quotes, for example: "Hello World"."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Can a constructor be private and how are this() and super() method used with constructor?

1 Answers   Flextronics, Hexaware,


Can a class be final?

1 Answers  


What does 0 mean in boolean?

1 Answers  


why java does not support multiple inheritance

41 Answers   Diamond, Euclid, Evergent, KLKJ, Mind Tree, NIIT, SSI Small Scale Industries, Wipro,


Difference between Hash Table and Hash Map?

10 Answers   Persistent,


What is the basic concepts of OOPS?

1 Answers   BlackRock,


What is class forname?

1 Answers  


What is palindrome in java?

1 Answers  


In java how do we copy objects?

1 Answers  


what is AWT

3 Answers  


Do we have pointers in java?

1 Answers  


Is constructor inherited?

1 Answers  


Categories