Java program to check if a number is even or odd number. This post will show you 7 different ways to check if a user-given number is even or odd.
ReadJava Arrays sort method is used to sort the contents of an array in a given order in a given range. This post will show you how to use Arrays.sort method with examples.
ReadLearn how to use Java Arrays hashCode method with different examples. hashCode method is used to get the hash code of an array in Java. It returns the hash code based on the array contents.
ReadJava Program to check if a number is magic number or not. This program will take one user input number and print one message that it is a magic number or not.
ReadJava Arrays toString method explanation with examples. Arrays toString method can be used to convert an array to a string. Learn how to use toString method with different examples.
ReadJava Arrays fill method explanation with examples. Arrays fill method can be used to fill an array with some specific value. This post will show you how to use fill with different examples.
ReadJava util Arrays deepEquals method explanation with examples. Learn how to use deepEquals method to compare two arrays and the difference between deepEquals and equals.
ReadJava util Arrays binarySearch method explanation with examples. By using this method, we can search for an element in an array by using binary search algorithm.
ReadJava sunny number program. This program will check if a user given number is a sunny number or not and how to print sunny numbers in a range.
ReadJava spy number program. This java program will take one number as input from the user and it will check if that number is a spy number or not.
Read