Computer Science, asked by savitanafina, 7 days ago

write a java program to display your name​

Answers

Answered by mohanashish282
0

Type a first name, and then hit the enter key on your keyboard. After you hit the enter key, java will take whatever was typed and store it in the variable name to the left of the equals sign. For us, this was the variable called first_name. So we used the Scanner class to get input from a user.

Similar questions