Help with a java school project


Scanner kbReader3=new Scanner(;
System.out.println("Are you researching a project,Yes or No : ");

String no;
String yes;

 if (des == no)
   System.out.println("GO AWAY ");
if (des2 == yes)
      System.out.print("yes ");

Not getting the response I want to.


You may have better luck getting an answer if you post enough code that it can be executed, and explain what you want to see and what you see instead and what information you’re missing to fix that

Imagine you’re grabbing someone on the street to get help. You’ve got some explaining to do before you get any, and if it’s too inconvenient they’ll still walk away even if they understand what is going on.