I am trying to solve https://www.codechef.com/problems/FLOW010 problem. I wrote `
public static void main (String[] args) throws java.lang.Exception
{
Scanner sc=new Scanner(System.in);
int t=sc.nextInt();
while(t>0){
String s=sc.next();
if(s=="b" || s=="B"){
System.out.println("BattleShip");
}
else if(s=="c" || s=="C"){
System.out.println("Cruiser");
}
else if(s=="d" || s=="D"){
System.out.println("Destroyer");
}
else if(s=="f" || s=="F"){
System.out.println("Frigate");
}
t--;
}
}
` There is no mistake in terms of syntax. Please help me what is mistake