JAVA

Java - LinkedIn Skill Assessments Quizzes with Answers

In this article, you will find LinkedIn Assessment, Questions and Answers for Java.

A Program to display factorial of specified number using for loop in JAVA

A Program to display factorial of specified number using for loop in JAVA.

A Program to display factorial of specified number using while loop in JAVA

A Program to display factorial of specified number using while loop in JAVA.

A Program to display sum of 1 to 10 numbers using for loop in JAVA

A Program to display sum of 1 to 10 numbers using for loop in JAVA.

A Program to display sum of 1 to 10 numbers using while loop in JAVA

A Program to display sum of 1 to 10 numbers using while loop in JAVA.

Constructor in JAVA

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 - Relational Operators

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 - Comparison Operators

Java provides operators that can be used to compare values or values within variables. As the name implies both `==` and `!=` are used for Comparison.

Java - Arithmetic Operators

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.

Introduction to JAVA

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.

Pattern programs in Java

In this article we will see different patterns that can be printed using loops in JAVA.

Program to mixup characters of 2 strings in JAVA

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.