Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java normal constructor

// normal constructor
    public Contract(String id, String name, double income, int yearService, boolean isProfessional) {
        super(id, name, income, yearService);
        this.isProfessional = isProfessional;
    }
 
PREVIOUS NEXT
Tagged: #java #normal #constructor
ADD COMMENT
Topic
Name
3+9 =