Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes compile time constants Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "compile time constants" Watch "compile time constants" New topic
Author

compile time constants

sanj singh
Ranch Hand

Joined: Jun 30, 2001
Posts: 129
What are compile time constants?
Any example would be great!!!
regards
sanj
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 984

Variables which will not change value during execution, and have the value available at compile time.


Please ignore post, I have no idea what I am talking about.
 
Don't get me started about those stupid light bulbs.
 
subject: compile time constants
 
Similar Threads
doubt regarding switch() case construct for flow control
Compile Time Constant
String class - Is this statement correct?
Compile time constant
compile time constant.