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 {
|
||||
|
||||
private String name = "John";
|
||||
|
||||
private byte age = 30;
|
||||
|
||||
private short uidNumber = 5555;
|
||||
|
||||
private int pinCode = 452002;
|
||||
|
||||
private long contactNumber = 123456789L;
|
||||
|
||||
private float height = 6.1242f;
|
||||
|
||||
private double weight = 75.2564;
|
||||
|
||||
private char gender = 'M';
|
||||
|
||||
private boolean active = true;
|
||||
|
||||
public String getName() {
|
||||
|
|
Loading…
Reference in New Issue