Constants in Java
- Constants are named locations in memory that are used to hold a value that cannot be modified by the program.
- Constants remain unchanged during the execution of a program.
final keyword is used to declare constant in Java.
final data-type identifier = value;
e.g.final float PI = 3.14F;
- It a coding convention to use uppercase for constants.
Training For College Campus
We offers college campus training for all streams like CS, IT, ECE, Mechanical, Civil etc. on different technologies
C, C++, Data Structure, Core Java, Advance Java, Struts Framework, Hibernate, Python, Android, Big-Data, Ebedded & Robotics etc.
Please mail your requirement at email@example.com
Projects For Students
Students can contact us for their projects on different technologies Core Java, Advance Java, Android etc.
Students can mail requirement at firstname.lastname@example.org