Lab1 3014218071 王汉超 Request: Write a program with a function(getTriangleStatus) and test it, which takes three double number l1, l2, l3 as lengths of triangle sides and calculates whether the triangle is equilateral, isosceles, or scalene. Contents: 一.…
public class Ticket {private int number 30;public void sale(){if(number > 0){System.out.println(Thread.currentThread().getName() "卖出了" (number--) "票,剩余:" number);}}public static void main(String[] args…