File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Literal" Watch "Literal" New topic


Aruna Balasuriya
Ranch Hand

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

Joined: Oct 13, 2005
Posts: 45264
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:
subject: Literal
jQuery in Action, 3rd edition