Java program that displays your name inside a box on the screen
Posted by Samath
Last Updated: January 08, 2021
  954

Write a Java program that displays your name inside a box on the screen.
Approximate lines with characters such as | - + .

public class Main
{
	public static void main(String[] args) {
	    
        System.out.println("+------+");
        System.out.println("|Samath|");
        System.out.println("+------+");
        
	}
}