Answer to Question #299847 in Java | JSP | JSF for Djk

Question #299847

create a java program will concatenate the basic information of the students given the default variables name.



Hi my name is Dew C. Corpuz My Birhtday is on January 1 1997 I am 24 years old One of the student of BSIT

1
Expert's answer
2022-02-19T16:56:49-0500
import java.util.Scanner;




class App {


	public static void main(String[] args) {
		Scanner keyBoard = new Scanner(System.in);
		System.out.print("Ente the name: ");
		String name = keyBoard.nextLine();


		System.out.println("Hi my name is " + name
				+ " My Birhtday is on January 1 1997 I am 24 years old One of the student of BSIT");


		keyBoard.close();


	}


}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS