Example | |
|
Solution |
Place the main(String [] args) method at the end of the class.
|
public class ClassA { public ClassA () { } public void methodA () { //.. } public void methodB() { //.. } public static void main (String [] args) { //.. } } |