Public class course object {
// Member variable
String Subject Name;//Completed
String subject code;
String Subject Classification;//Completed
String Score;//Completed
String purpose of lecture;
String Learning Objectives;
String Lecture Text;
String Faculty;//Completed
We did the chords like this Both in Eclipse and cmd windows were source code that ran without errors. However, in the code executor, when you press "
"Command failed: /undefined.java:1: error: class subject is public, should be defined in a file named course object.java public class course object { ^ 1 error
There is an error like this, but I heard that you don't have to make a separate class file in the code executor I wonder why this error occurs.
java
An error occurred because the class name and variable name were Korean. (Bugs in Code Executor) I extracted the file name from the class name, created the file, and compiled it, but the file name was not extracted properly.
© 2024 OneMinuteCode. All rights reserved.