For this Question: Sara loves pattern, so this time she wishes to draw a pattern as:-
*****
****
***
**
*
Since Sara does not know how to code, help her to draw this pattern.<b>User Task:</b>
Since this will be a functional problem, you don't have to take input. You just have to complete the function <b>Triangle()</b> that takes no parameters.Print the pattern as shown in the example.Sample Output:-
*****
****
***
**
*, I have written this Solution Code: static void Triangle(){
	    System.out.println("*****");
	    System.out.println("****");
	    System.out.println("***");
	    System.out.println("**");
	    System.out.println("*");
}
, In this Programming Language: Java, Now tell me if this Code is compilable or not?