Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (13.1k points)
Can anyone help me with the difference between static and final keyword in Java?

1 Answer

0 votes
by (26.7k points)

Basically, if you make any method or variable static that means, its objects will get created at the time of the creation of class only, whereas, if you make any variable as final then you cannot able to change it's valued, also you can make a final class.

I hope this will help.

Want to become a Java expert? join Java Certification now!!

Want to know more about Java? Watch this video on Java Training | Java Course for Beginners:

Related questions

0 votes
1 answer
0 votes
0 answers
0 votes
1 answer
0 votes
1 answer

Browse Categories

...