Question: Why is it saying it cant run correctly public class Main { public static void main ( String [ ] args ) { / /
Why is it saying it cant run correctly
public class Main public static void mainString args Create Address objects for the studentsAddress home new Address School St "Atwater", OH;Address school new Address Oak Road", "Streetsboro", OH; Create a Student object using the constructor and their test scoresStudent student new StudentJimmy "Newtron", home, school, ; Create Student object using the constructor with the default test scoresStudent student new StudentTimmy "Turner", home, school; Test setTestScore and getTestScore methodsstudentsetTestScore;studentsetTestScore;studentsetTestScore; Print the student detailsSystemout.printlnstudent;Systemout.println;Systemout.printlnstudent;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
