Create a new Java project with "AddressDetails.java" file and implement a Java code to display your address.
Sample Output
Door No: D089
Street: St. Louis Street
City: Springfield
ZIP Code: 62729
class Tester
{
public static void main(String[]args)
{
System.out.println("Door No: D089\nStreet: St. Louis Street");
System.out.println("City: Springfield\nZIP Code: 62729");
}
}
No comments:
Post a Comment