Enumerations vs final variables in java

Enumerations vs Final Variables in java

1. Enumeration is type safe. Where as final variables are not.
2. Enumeration supports to have a blend of various values. Where as final variables does not support multiple values.
3. Enumeration constants can be names. Where as final constants can not be named.
Output to an applet’s window - Java
Yes it is possible for a method other than paint() or update() to output an applet’s window. It is mandatory to obtain a graphics context by invoking getGraphics() method...
What is byte code? - Java
The compiled Java source code is known as byte code. Java compiler generates the byte code...
Range and behavior of its primitive types - Java
Java strictly specifies the ranges for primitive values. The selection of values in integer or floating point types differs based on the requirement of an application...
Post your comment