why can't I use public before class sun? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

why can't I use public before class sun?

class sun { //public class sun { } public class Tuts { public static void main(String[] args) { } }

5th Aug 2020, 10:19 AM
Ray
Ray - avatar
1 Answer
+ 1
You can!
5th Aug 2020, 10:45 AM
Rohit