Saturday, 19 November 2022

Introduction to Java - Assignment 1

 

Problem Statement

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

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");
}
}



Execution Result  Output:  Door No: D089 Street: St. Louis Street City: Springfield ZIP Code: 62729















No comments:

Post a Comment

Free Resume Template

Creating a blog post that discusses the pros and cons of using a resume rule is a great way to provide valuable information to job seekers ...