Java Edabit: Using the "&&" Operator, Very Easy Difficulty
- Justin Mah
- May 5, 2021
- 1 min read
Solving this question in Edabit: https://edabit.com/challenge/NhwrwfjHZ9Dpz2J5K using the and operator. it's a fairly simple question.
I'm not actually sure why I made this video though. it's a one-liner answer😢
Question:

Solution:

public class Program {
public static boolean and(boolean a, boolean b) {
return a && b == true;
}
}
Comments