Oh, I thought that wasn't necessary since I just declared the variable. But, now I'm getting this error
Error: Main method not found in class absvalprob, please define the main method as:
public static void main(
String[] args)
or a JavaFX application class must extend javafx.application.Application.
Do I need to put a main method before my own functions?