Lab Questions
Lab Questions
Lab1.2 Write a Java program to Check whether a number is even or odd using if...else
statement
Lab1.3 Write a Java program to Check whether a number is even or odd using ternary
operator
Lab1.6 Write a Java Program to Add Two Integers and display the result
Lab1.9 Write a Java Program to Swap two numbers using temporary variable
Lab1.10 Write a Java Program to Swap two numbers without using temporary variable
Lab2.2Write a Java Program to check if the given year is a leap year or not.