Compile time constants:
These are the primitives(int, char, byte and short) and strings that are declared with keyword final and initialized at the time of declaration (value should be known to the compiler at the compile time).
For example:
public final int x = 10; -> 1
Here the variable x is declared with keyword final and initialized at the declaration time. It is called...
Labels
Popular Posts
-
BUBBLE SORT : Bubble sort is a simple sorting algorithm ...
-
Binary Tree: A Tree in which each node has a degree of atmost 2. i.e. it can have either 0,1 or 2 children. Here, leaves a...
-
Compile time constants: These are the primitives(int, char, byte and short) and strings that are declared with keyword final and initi...
Blog Archive
- March 2017 (1)
- March 2016 (1)
- October 2015 (1)
- September 2015 (1)
- August 2015 (5)
- July 2015 (2)
- June 2015 (4)
- January 2015 (4)
- December 2014 (5)
- November 2014 (1)
- October 2014 (1)
- September 2014 (3)
Powered by Blogger.