Java is a programming language created by James Gosling from Sun Microsystems in 1991. Java is a high level, robust, object-oriented and secure programming language.
Popular Post: Java
In this tutorial you will set up your environment for Java programming language, then this section guides you on how to download and set
Java Syntax is a collection of objects, and these objects and methods are use to write programs that the compiler and computer understands.
In Java, comments can be used to explain Java code. In Java there are three types of comments - Single line comments, Multi line comments, Documentation comments.
The Java programming language defines the following kinds of variables: local variable, instance variable, static variable.
In Java, There are two types of data types (Primitive data types, Non-primitive data types). Data types specify the sizes and values that can be stored in the variable.
In Java, The process of converting the value of one data type int, float, double etc. to another data type in both ways manually and automatically is known as typecasting.
In Java, Operators are used to perform operations on variables and values. Arithmetic Operators, Relational Operators, Bitwise Operators, Logical Operators, Assignment Operators, Misc Operators.
In Java, Strings is are widely used in Java programming. String is basically a sequence of characters. In the Java programming language, strings are objects.
The Java Math class has many methods to work on math calculations like min(), max(), sin(), cos(), tan(), ceil(), floor(), abs(), avg(), round() etc.
In this tutorial, we are going to explore Java boolean a primitive data type. This data type has two values true or false.
In this tutorial, you will learn Java if and if...else statements. It executes the if block if condition is true otherwise else block is executed.
In Java, switch statement enables you to execute a block of code based on the value of some variable.
In Java, while loop is a control statement that allows part of the program repeatedly based on a given condition is true.
In Java, for loop is a loop that facilitates a user to execute a block of a statements iteratively for a fixed number of times.
In Java, The break statement is used to terminate the loop immediately and continue statement is used to continue the loop.
Arrays are used to store multiple values in a single variable, instead of declaring separate variables for each value.
In Java, A method is a collection of statements that are grouped together to perform a certain task or operation.
Parameters are specified after the method name, inside the parentheses. You can add as many parameters as you want, just separate them with a comma.
In Java, Overloading allows different methods to have the same name, but different in parameters. These methods are called overloaded methods.