Merge pull request #6081 from FDPro/master

dupirefr/dupire.francois+pro@gmail.com [BAEL-2424] Retrieving a Java Class Fields Using Reflection
This commit is contained in:
Loredana Crusoveanu
2019-01-06 00:17:59 +02:00
committed by GitHub
4 changed files with 150 additions and 0 deletions
@@ -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;
}