[Solved] Pls help me, how can I make the code printout the full details of the address as an output instead of empty output [closed]


Modify the body of the main method like this:

public static void main(String[] arg) {
   Address address = new Address("The Game", "Seventh street", "Generic Town", "State", "1234");
  
   System.out.println(address.toString());
}

1

solved Pls help me, how can I make the code printout the full details of the address as an output instead of empty output [closed]