Jak utworzyć węzeł w Javie

// This is a template for creating a Node for Singly Linklist in Java
Node{				//This is Node class
	int Num			//This is the data part
  	Node next		//This is the Node type variable which will store the address of next Node type.
}
Gentle Goosander