The formula that I have in my code which is causing the error is the formula that was given for the assignment
问题 //The error message I'm getting is saying "cannot find symbol- method second(double) but I feel as though I have identified everything already. (I'm clearly wrong). I think there is a problem with the formula as well but that is the code I was given for the formula. Any help would be greatly appreciated. import java.util.GregorianCalendar; import javax.swing.JComponent; import java.awt.geom.Ellipse2D; import java.awt.geom.Line2D; import java.awt.*;//import * Class public class ClockComponent