What are Literals in java example

In java, literals are used for storing the constant value.

Example :-
“Literals” denoted String Literals,
‘P’ denoted Character Literals,
 93.8 denotes floating points value Literals,
786 denotes an Integer Literals

Comments

Recent Post

Recent Posts Widget

Popular posts from this blog

Capture image from webcam java code, examples

Shallow Copy Deep Copy Java example

Database Connection using NODE JS example