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;

}

}


Comments


Post: Blog2_Post

©2021 by IPengieWoo. Proudly created with Wix.com

bottom of page