error: java: 无法从静态上下文中引用非静态 变量 this_HH~LL的博客-CSDN博客

网站介绍:package bin_tree.heap;import java.util.Queue;import java.util.PriorityQueue;public class PriorityQueueTest { public static void main(String[] args) { Queue<Student> queue = new PriorityQueue<>(); Student stu1=new Student(