Where understand java that which class is original class? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Where understand java that which class is original class?

hi my friends Where understand java that which class is original and starter class?

11th Jan 2019, 3:48 PM
Hadi
Hadi - avatar
3 Answers
+ 3
Find the class which has main method. Usually, it has public access modifier. That is the class which allows the code to be executed
12th Jan 2019, 4:58 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 1
I would say because of the main method public static void main(String[] args)
11th Jan 2019, 9:13 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
main method is always? : oublic ststic void main(String[] args)
12th Jan 2019, 4:17 AM
Hadi
Hadi - avatar