I have a question in the Lab for 1023, in listing Code-1.14. Why, when we are writing the class for InternationalStudent, is there a method to create a new instance when no such code is needed for the teacher or student classes?
This is the code snippet I'm wondering about, from http://www.javapassion.com/handsonlabs/javainheritance/index.html: /** Creates a new instance of InternationalStudent */ public InternationalStudent() { } --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
