Question:Which one is the correct structure for declaring a method within a class?
A class Hello{
public static void amin(String args[]){
System.out.println("Hello World !!");
}
}B class Hello{
System.out.println("Hello World !!")
}C class Hello{
public static void amin{String args[]}(
System.out.println("Hello World !!");
)
}D class Hello{
}
+ AnswerA
+ Report