This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Literal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Literal" Watch "Literal" New topic
Author

Literal

Aruna Balasuriya
Ranch Hand

Joined: Nov 14, 2009
Posts: 44
What is meant by a literal?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36453
    
  15
A value you write in the code yourself. So "Literal" is a String literal, 123 and 1.23E45 are both numeric literals and 'z' and '@' are both character literals.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Literal
 
Similar Threads
Literals???
(heavy breathing goes here)
Is "null" a keyword in Java?
The .class property
Did you hear the one ... ?