Write a Program to Check Even or Odd in java

odd even program in java

Here in this post, we are going to write a program to print even and odd numbers in java. Basic logic goes like if a number is divisible by two then it will be even, else, it Should odd. We use the modulus operator to find the remainder of a number in our program. For … Read more

Java Hello World Program

program to print hello world in java

A “Hello, World!” is a Basic program in Java that outputs Hello, World! on the screen. Since it’s a very simple program, often used to introduce a new programming language to a newbie. So Let’s explore how Java Hello World program. Java programming code :  // Your First Program class HelloWorld { public static void … Read more