Java constructor is a special function which is use to initialize object and whose name is same as class name. The types of constructor: **no-argument**, **default** and **parameterized** constructors. Constructor is a special method to initialize the state of an object
Java provides operators that can be used to check the relationship between values or values within variables also known as operands.
All relational operators, less than(<), less than or equal to(<=), greater than(>), greater than and equal to(>=) gives resultant value in boolean i.
Java supports different arithmetic operators that can be used to performs mathematical calculations on the values and variables aka operands.
The basic arithmetic operations includes addition, subtraction, multiplication, division, etc. are performed with these operators.
Java is a high-level general programming language originally developed by Sun Microsystems and released in 1995. Java runs on more than 5.5billion devices that quite huge.
In this article we’ll see a program to mixup characters of 2 string in JAVA.
Input Consider a two strings as Good and Day.
Code public class StringMixup { public static void main(String[] args) { String str1 = "Good", str2 = "Day"; int i = 0, str1Length = str1.