I got it. Thank you so much! This was my last programming assignment of the semester. So glad it's over!
Type: Posts; User: EDale
I got it. Thank you so much! This was my last programming assignment of the semester. So glad it's over!
So are you saying I should create a person object within my Person class to be able to call methods from that class?
Like:
Person p = new Person("Joe", "Smith", "0394857");
To call...
I'm talking about changing the getFirstName() method to static not the toString() method. I cant call the toString() because I can't even compile the student class.
Hi, I have a super class Person and its sub class Student. Student has a toString method that prints out the details of the Student object including the first name. But I keep getting the error...