Final :

Final is keyword which apply restriction in JAVA.

Final apply on:
1)Data types----------> value cannot be changed once declared.
2)Method-------------->method cannot override in child class.
3)class--------------->final class is not inheritance

Final apply on data types:

class student{
    final int marks=99;
	void change(){
	  marks=50;// once declare final datatype cannot be changed
	void show(){

	public static void main(String args[]){
    student s=new student();;

Compile time error


Plot number-56/1
Near Gurudwara
LandMark :
Opposite A.N.D college
Govindpuri Metro station
New Delhi
Mobile number: