This discussion is archived
3 Replies Latest reply: Jul 28, 2007 10:37 AM by 807600 RSS

using super class constructor in subclass constructor

807600 Newbie
Currently Being Moderated
Hi all. How can I use Person() in my Client()?

something like this:
public class Client extends Person{
      private float balance;

      Client(String firstName,String midleName,String lastName,Contacts contacts,Adress adress,float balance){
           this= Person(firstName,midleName,lastName,contacts,adress);
           this.balance=balance;
      }