package packege1s;
class p1{
p1 p;
int a;
p1(int a,p1 p){
this.p = p;
this.a = a;
}
}
public class LinkedlistEg{
public static void main(String[] args) {
p1 n = new p1(21,null);
p1 n1 = new p1(21,n);
System.out.println(n.p);
System.out.println(n1.p);
}
}
When I run this code I get the following output :
null
packege1s.p1@156643d4
What is packege1s.p1@156643d4? (packege1s is the name of the package)