Based on this theory, the attributes of a class are made private to hide and safeguard them from other code. OldCurmudgeonOldCurmudgeon 66k1818 gold badges126126 silver badges220220 bronze badges eight 1 Can the the String member variables not be renamed to their correct situation, so general public String name; results in https://luxuryprojectsgurugram.in/