Thanks. It's working now. I wonder why can't we use "==" for String comparison !!
Type: Posts; User: NiharVish
Thanks. It's working now. I wonder why can't we use "==" for String comparison !!
I wrote this simple code of logical operators but not getting desired output.
package logical_operators;
import java.util.Scanner;
public class LogicalOperators {
public static void...