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
Biology,
1 month ago
Math,
1 month ago
Math,
3 months ago
Science,
3 months ago
English,
11 months ago
Computer Science,
11 months ago
Business Studies,
11 months ago