[BAEL-2424] Updated tests to illustrate modifiers filtering and to disable order checking
This commit is contained in:
@@ -2,6 +2,6 @@ package com.baeldung.reflection;
|
||||
|
||||
public class MonthEmployee extends Employee {
|
||||
|
||||
private double reward;
|
||||
protected double reward;
|
||||
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.baeldung.reflection;
|
||||
|
||||
public class Person {
|
||||
|
||||
public String lastName;
|
||||
protected String lastName;
|
||||
private String firstName;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user