Yes, you can make the main() method final.
The below diagram demonstrates that we can have a main() method as final in Java.
Interview Questions
Java
Java Tutorial
main() Method
Check out discount coupons: Udemy Courses - Ramesh Fadatare
Comments
Post a Comment