3 Replies Latest reply: Jul 28, 2007 12:37 PM by 807600 RSS

    using super class constructor in subclass constructor

    807600
      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;
            }