A boolean keyword is a primitive data type.it is used to store only two possible values ,either true or false....
Continue reading...JAVA
JAVA Math
Math.max(x,y) The Math.max(x,y) method can be used to find the highest value of x and y. for ex: Math.max(2,6); Math.min(x,y) The...
Continue reading...JAVA Strings
A string is a sequence of characters. String is a class but can be used like a data type. A...
Continue reading...JAVA Type Casting
Typecasting allows us to convert one data type into another. In Java language, we use the cast operator for typecasting...
Continue reading...JAVA Operators
Operators: Operators are special symbol that perform specific operation on one, two or three operands and then return a result. Operand: Operand...
Continue reading...JAVA Data Types
Java Data Types they are divided into two groups. Primitive data types. Non- Primitive data types. 〈Data Types〉 -Primitive data...
Continue reading...JAVA Constants
Constants (often referred to as literals) are data items that are fixed data values. That means a constant is a...
Continue reading...JAVA Variables
A variable is a named memory location, which holds a data value of a particular data type. The value of...
Continue reading...JAVA Tokens
Token in Java is the most important element to be used in creating a program in Java. The token in...
Continue reading...JAVA Comments
Comments are hints that a programmer add to explain code and make it more understandable. There are two types of...
Continue reading...