+ 1
this is my 1st java program please help me its not working
2 Antworten
+ 17
class MyClass {
public static void main(String[ ] args) {
System.out.println("Hello World");
System.out.println("i am farhan");
}
}
//corrected code , i guess that u want that output ☺
+ 1
there can be only one main method in a Java programme.