0

I have a problem running this code

Error Main method not found in class Main, please define the main method as public static void main(String[] args) or a JavaFX application class must extend javafx.application.Application This is my eror I use IntelliJ IDEA https://code.sololearn.com/c6mFunceZEBy/?ref=app

11th Apr 2020, 1:43 PM
𝖅𝖚𝖐𝖔
𝖅𝖚𝖐𝖔 - avatar
3 odpowiedzi
0
I tried it but another error occurs
11th Apr 2020, 2:40 PM
𝖅𝖚𝖐𝖔
𝖅𝖚𝖐𝖔 - avatar
0
You might be having any class file directory which have same name as an inbuilt java class name.. In such case you can rename/delete your defined class name or you can change the directory...
11th Apr 2020, 2:48 PM
sarada lakshmi
sarada lakshmi - avatar