0
i'm a beginner to java and i wrote this program when i run the program on the terminal it gave me an error like "Error: Main method not found in class Rectangle, please define the main method as:public static void main(String[] args) or a JavaFX application class must extend javafx.application.Ap...