Class DiamondPattern
{
public static void main(String[] args)
{
System.out.println("Program for displaying pattern of *.");
System.out.print("Enter the maximum number of *: ");
int n = 6;
System.out.println("nHere is the Diamond of Starsn");
for (int I = 1; I