[BAEL-2424] Added classes and tests
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package com.baeldung.reflection;
|
||||
|
||||
public class Employee extends Person {
|
||||
|
||||
public int employeeId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package com.baeldung.reflection;
|
||||
|
||||
public class MonthEmployee extends Employee {
|
||||
|
||||
private double reward;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.baeldung.reflection;
|
||||
|
||||
public class Person {
|
||||
|
||||
public String lastName;
|
||||
private String firstName;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user