keeps on giving error on the line compareResult = v.compareTo(t.getdat Thanks :  public void insert(int v){
		   Node t = root;
		   int compareResu`enter code here`lt ;
		   compareResult = 0 ;
		   if((t.getData()).equals(v))return ;
		   if(t == null){
				 Node n = 

Heading
-------

 new Node<>(v, t, null, null);
				 
			 }
			 else
		    while(t!=null){
		    	
		      compareResult = v.compareTo(t.getData());
			  if( compareResult >0){
			   if(t.getRight()!=null){
			   		t = t.getRight() ;
			   		}
			   	else{
			   	 Node n = t.getRight();
			   	break ;
			   }
			  }
			   
			   else{
				   compareResult = v.compareTo(t.getData());
				   if(compareResult < 0){
			     if(t.getLeft()!=null){
			     t = t.getLeft() ;
			    }
			    else{
			     Node n = t.getLeft() ;
			    break ;
			   }
			  }
			   }
		    }