Saturday, 19 November 2022

Introduction to Java - Exercise 1

Create a new Java project with "TraineeDetails.java" file and implement a Java code to display your name and designation in two separate lines.

 

Sample Output

My name is Maria Jerome.

My designation is Systems Engineer.

Create a new Java project with "TraineeDetails.java" file and implement a Java code to display your name and designation in two separate lines.     Sample Output  My name is Maria Jerome.  My designation is Systems Engineer.



classTester
{
publicstaticvoidmain(String[]args)
{
System.out.println("My name is Maria Jerome.\n My designation is System Engineer.");
}
}



Execution Result  Output:  My name is Maria Jerome. My designation is System Engineer.


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 ...