Is MyClass at the beginning of each program a keyword or identifier? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is MyClass at the beginning of each program a keyword or identifier?

10th Jan 2018, 4:26 PM
Game N Droid
Game N Droid - avatar
4 Answers
+ 9
"MyClass" is most probably the name of your class. It's not a keyword though a "class" is.
10th Jan 2018, 4:35 PM
Dev
Dev - avatar
+ 1
Does it means I can start my Java program by " pumpkin " instead of MyClass?
10th Jan 2018, 6:14 PM
Game N Droid
Game N Droid - avatar
+ 1
@Game N Droid Yes
10th Jan 2018, 8:45 PM
Jacob Pembleton
Jacob Pembleton - avatar
0
thanks
11th Jan 2018, 1:32 AM
Game N Droid
Game N Droid - avatar