How can class name be used as data type?

前端 未结 0 1250
小蘑菇
小蘑菇 2021-01-13 09:35

public class node {

int data;
node next;

node(int data){
    this.data = data;
}

}

This is a class that I saw online for a linked lis

相关标签:
回答
  • 消灭零回复
提交回复
热议问题