Java

About Java

Java is an Object Oriented,High level, Robust and Secured programming language. Java Applications Java Application Running on 3+ billions devices. […]

read more

Java History

Java team members developed a language for digital devices such as televisions, set-top boxes etc. Now a days, Java is […]

read more

Java Features

Simple Java language is simple because mostly syntaxlike C++ . Java removed pointers, operator overloading etc. No need Java has […]

read more

First program in Java

Open an editor like: Notepad, Sublime etc and write. class HelloWorld { public static void main(String args[]) { System.out.println("Hello World!"); […]

read more

Java Data Types

Data Type Default Value Default size boolean false 1 bit char ‘\u0000’ 2 byte byte 0 1 byte short 0 […]

read more

Java Operators

Java Operators is a symbol which is used to perform operations. Java Operators has defined such as unary operator, arithmetic […]

read more

Java Keywords

A keyword is a reserved word. You cannot use it as a variable name, constant name etc. Keyword Description abstract […]

read more

Java Variables

Variable allocates reserved memory area. char ch=’A’;//chis variable int num=10;//num is variable Types of Variable Local Variable is declared inside […]

read more

Java Type Casting or Type Conversion

Type casting is when you assign a value of one primitive data type to another type. In Java, there are […]

read more

Java Comments

Java Comments can be used to help for description the code. It will never show on run time. Single-line comments […]

read more

Java if else

if Statement Use the if statement to specify a block of Java code to be executed if a condition is […]

read more

Java switch

Java switch statement is used to select one of many code blocks to be executed. switch(expression) { case x: // […]

read more

Java while

What is Loops? When we want to execute a block execute multiple time then we use loop.It executes until condition […]

read more

Java do while

What is Loops? When we want to execute a block execute multiple time then we use loop.It executes until condition […]

read more

Java for

What is Loops? When we want to execute a block execute multiple time then we use loop.It executes until condition […]

read more

Java break and continue

Java break Java break is keyword which is used to going out from “switch” and loops(while, do-while, for). class SampleBreak […]

read more