top of page

Java Edabit: Using the "&&" Operator, Very Easy Difficulty


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;

}

}


6 views0 comments
Post: Blog2_Post
bottom of page