JavaFX application class must extend javafx.application.Application --> Getting this error eventhough main method is there.
Please refer to my sample code:
package testpkg;
class Overloading1 {
public void disp(char c) {
System.out.println(c);
}
public void disp(char c, int num) {
System.out.println(c + " " + num);
}
}
class Overloading2 extends Overloading1 {
public static void main(String args[]) {
Overloading2 obj = new Overloading2();
obj.disp('a');
obj.disp('a', 10);
}
}