Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 18th, 2012  |  syntax: None  |  size: 0.20 KB  |  hits: 22  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Constructor calling inherited constructor in java
  2. public class Student extends Person
  3. {
  4.    protected int id;
  5.  
  6.    public Student()
  7.    {
  8.    // how do i call the inherited constructor here?
  9.    }
  10.  
  11. }