Codekru

Boolean.logicalOr() method in Java

logicalOr() method performs the logical OR operation between two boolean values. It’s a static method and was introduced in Java 1.8. This post will discuss the logicalOr() method of the Boolean wrapper class in detail. Method declaration – public static boolean logicalOr(boolean a, boolean b) What does it do? logicalOr() method takes two boolean arguments and performs the logical OR operation. What

Boolean.logicalOr() method in Java Read More »