Java program that prints three items on three separate lines
Posted by Samath
Last Updated: January 08, 2021
  397

Write a Java program that prints three items on three separate lines.

public class Main
{
	public static void main(String[] args) {
	    
        System.out.println("Apple");
        System.out.println("Banana");
        System.out.println("Mango");
	}
}