Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Constructor calling inherited constructor in java
- public class Student extends Person
- {
- protected int id;
- public Student()
- {
- // how do i call the inherited constructor here?
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment