Condensed fields by removing extra space.
This commit is contained in:
parent
0e528b11d2
commit
5236d6cedd
|
@ -3,21 +3,13 @@ package com.baeldung.reflection.access.privatefields;
|
||||||
public class Person {
|
public class Person {
|
||||||
|
|
||||||
private String name = "John";
|
private String name = "John";
|
||||||
|
|
||||||
private byte age = 30;
|
private byte age = 30;
|
||||||
|
|
||||||
private short uidNumber = 5555;
|
private short uidNumber = 5555;
|
||||||
|
|
||||||
private int pinCode = 452002;
|
private int pinCode = 452002;
|
||||||
|
|
||||||
private long contactNumber = 123456789L;
|
private long contactNumber = 123456789L;
|
||||||
|
|
||||||
private float height = 6.1242f;
|
private float height = 6.1242f;
|
||||||
|
|
||||||
private double weight = 75.2564;
|
private double weight = 75.2564;
|
||||||
|
|
||||||
private char gender = 'M';
|
private char gender = 'M';
|
||||||
|
|
||||||
private boolean active = true;
|
private boolean active = true;
|
||||||
|
|
||||||
public String getName() {
|
public String getName() {
|
||||||
|
|
Loading…
Reference in New Issue