Sample output 1:
XXX attachment
XXXXXX XXXXXX X:
XXX XXX XXXXXXXXXX
XXXX XX copy:
//XXXXXX XXXXXXXXXX.
import XXXX.XXXX.*;
//Class Hol
XXXXXX class Hol
{
//XXXX XXXXXXXX.
XXXXXX XXXXXX XXXX XXXX(XXXXXX args[])
//XXXXXX an XXXXXX to the XXXXXXX.
Scanner XX=new XXXXXXX(XXXXXX.in);
//Prompt the XXXX to XXXXX XXX side XX a XXXXXX.
System.out.XXXXX("XXXXX XXX length XX a XXXX: ");
XXX len=sc.XXXXXXX();
//XXX loop XX display XXX XXXXXXX.
for(XXX i=0;i&XX;XXX;i++)
//For loop to display XXX square XX XXXXXXXXX.
for(XXX j=0;X<XXX;X++)
XXXXXX.out.XXXXX("*");
}
XXXXXX.out.print(" ");
//For loop XX display XXX XXXXXX square.
for(XXX X=X;X<len;j++)
XX(i==0||i==len-1||j==X||j==XXX-1)
XXXX
System.out.XXXXX(" ");
XXXXXX.out.XXXXXXX();
//Close the scanner XXXXXX.
XX.close();