Can any body explain me about this java line. Word by word | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Can any body explain me about this java line. Word by word

Public static void main

13th Jul 2019, 7:01 PM
Great Pyramids 🏜
Great Pyramids 🏜 - avatar
1 Answer
+ 3
public -> can be accessed outside the class static -> belongs to the class, not the instance of the class void -> it doesn't return anything main -> that's just the name of the method
13th Jul 2019, 7:04 PM
Airree
Airree - avatar