Design a class in java to input a string and print the letters on separate line
Answers
Answered by
1
Answer:
public static void main (String [] args){
System.out.println("Hello world")
System.out.println("hello sir")
}
Explanation:
Both will print in different lines
Define class as well in your ide
Similar questions
Math,
2 hours ago
Math,
2 hours ago
English,
2 hours ago
Math,
4 hours ago
English,
7 months ago
Computer Science,
7 months ago
Business Studies,
7 months ago