In this short Java tutorial, you'll learn how to check whether a number is EVEN or ODD in just one simple line of code! 💻 Code used in this video: --------------------------------- import java.util.Scanner; public class EvenOdd { public static void main(String[] args) { int num=2; if (num % 2 == 0) { System.out.println(num + " is Even"); } else { System.out.println(num + " is Odd"); } } } --------------------------------- 📚 Topics covered: ✅ Java basics for beginners ✅ % (modulus) operator explained ✅ Even or odd logic in Java ✅ Simple programming examples 👍 If you found this helpful, don’t forget to LIKE, COMMENT, and SUBSCRIBE for more short coding tutorials from TechLooping! 🔔 Turn on notifications so you never miss an update! #Java #EvenOdd #TechLooping #CodingForBeginners #JavaTutorial #Shorts