이 시도
class Main extends Application {
public static Log log = new Log("main.log"); // class, not shown here
Work work;
public start() // entry point
{
work = new Work();
}
}
그러면 당신 만 사용할 수 있습니다
Main.log.write("Making work object");