+ 1
How to use public class in notepad..
2 Answers
0
What do you mean? Make a class, create your main () method with proper parameters and add a simple system.out.println statement. Then, save the file as .java and run it in cmd or a compiler of your choice.
0
dont use notepad, get eclipse