Merge pull request #6169 from FDPro/bael-2424
dupirefr/dupire.francois+pro@gmail.com [BAEL-2424] Removed order checking + filtering public and protected fields
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