//the following code is not running help out

public Node maximum()
{
Node current ;
Node last;
current =Root ;
while(current!=null)
{
last=current;