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

How to capture finger prints in java

Shallow Copy Deep Copy Java example