Click here to watch in Youtube :
https://www.youtube.com/watch?v=NE44_5jrU8o&list=UUhwKlOVR041tngjerWxVccw
Click the below Image to Enlarge
|
Java Tutorial : Generate Constructors using eclipse |
|
Java Tutorial : Generate Constructors using eclipse |
|
Java Tutorial : Generate Constructors using eclipse |
|
Java Tutorial : Generate Constructors using eclipse |
|
Java Tutorial : Generate Constructors using eclipse |
|
Java Tutorial : Generate Constructors using eclipse |
|
Java Tutorial : Generate Constructors using eclipse |
|
Java Tutorial : Generate Constructors using eclipse |
|
Java Tutorial : Generate Constructors using eclipse |
|
Java Tutorial : Generate Constructors using eclipse |
|
Java Tutorial : Generate Constructors using eclipse |
|
Java Tutorial : Generate Constructors using eclipse |
Person.java
public class Person
{
private String name;
private int age;
public Person(String name, int age)
{
super();
this.name = name;
this.age = age;
}
}
Employee.java
public class Employee extends Person
{
private int salary;
public Employee(String name, int age)
{
super(name, age);
// TODO Auto-generated constructor stub
}
public Employee(String name, int age, int salary)
{
super(name, age);
this.salary = salary;
}
}
No comments:
Post a Comment