write a program in java to print your v hobbies on the output screen.
Home
/
Computer Science
/
write a program in java to print your v hobbies on the output screen.
write a program in java to print your v hobbies on the output screen.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
Syntax :-
String x = cricket;
String y = games;
String z = coding;
System.out.println("My fav. hobbies are ");
System.out.println(+x+);
System.out.println(+y+);
System.out.println(+z+);