我在我的程序中使用了实现继承,并且我的子类中的方法没有在main方法中被调用。它显示错误"The method getArea() is not defined in type Second“。package firstproject;import java.util.Date;publictoString()方法的实现方式如下: return " Triangle : side1 =“+ s
在执行下面的程序时,我收到错误消息" error : main method not found in class Parent_Package.Parent,the the Main method as: public static void main(String[] args)"..................有人知道如何解决这个问题吗??============== int money = 100;enter code here