Can we use final keyword with main() method? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Can we use final keyword with main() method?

19th May 2019, 3:54 PM
Vaishnavi Rajkumar Pawar
3 Answers
+ 4
Yes. You can use final with any static method.
20th May 2019, 11:40 PM
Rafael S Valle
Rafael S Valle - avatar
19th May 2019, 4:57 PM
Denise Roßberg
Denise Roßberg - avatar
0
Yes, you can
9th Aug 2019, 2:15 PM
Tochukwu Lucky Nwaiwu
Tochukwu Lucky Nwaiwu - avatar