Java Language

Continue your learning by starting Java Language.

Java Language

Introduction

Java is a high-level programming language originally developed by Sun Microsystems and released in 1995. Java runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. This tutorial gives a complete understanding of Java.

  • java Overview

    The new J2 versions were renamed as Java SE, Java EE, and Java ME respectively. Java is guaranteed to be Write Once, Run Anywhere.

  • Java Object and Classes

    Object − Objects have states and behaviors. Example: A dog has states color, name, breed as well as behaviors – wagging the tail, barking, eating. An object is an instance of a class.
    Class − A class can be defined as a template/blueprint that describes the behavior/state that the object of its type support.

  • Java Basic Datatypes

    Based on the data type of a variable, the operating system allocates memory and decides what can be stored in the reserved memory. Therefore, by assigning different data types to variables, you can store integers, decimals, or characters in these variables.

  • Java Variable Types

    A variable provides us with named storage that our programs can manipulate. Each variable in Java has a specific type, which determines the size and layout of the variable's memory; the range of values that can be stored within that memory; and the set of operations that can be applied to the variable.

  • Java Modifier Types

    Java provides a number of non-access modifiers to achieve many other functionality. The static modifier for creating class methods and variables. The final modifier for finalizing the implementations of classes, methods, and variables. ... The synchronized and volatile modifiers, which are used for threads.

  • Java Basic Operators

    The Bitwise Operators. Java defines several bitwise operators, which can be applied to the integer types, long, int, short, char, and byte. Binary AND Operator copies a bit to the result if it exists in both operands.

  • Java Loop Control

    Java - Loop Control. A loop statement allows us to execute a statement or group of statements multiple times and following is the general form of a loop statement in most of the programming languages − Java programming language provides the following types of loop to handle looping requirements.

  • Java Decision Making

    Java - Decision Making. ... Decision making structures have one or more conditions to be evaluated or tested by the program, along with a statement or statements that are to be executed if the condition is determined to be true, and optionally, other statements to be executed if the condition is determined to be false.

  • Java Numbers Class

    In order to achieve this, Java provides wrapper classes. All the wrapper classes (Integer, Long, Byte, Double, Float, Short) are subclasses of the abstract class Number. The object of the wrapper class contains or wraps its respective primitive data type.

  • Java Character Class

    However in development, we come across situations where we need to use objects instead of primitive data types. In order to achieve this, Java provides wrapper class Character for primitive data type char.

  • Java Strings Class

    Strings, which are widely used in Java programming, are a sequence of characters. In Java programming language, strings are treated as objects. The Java platform provides the String class to create and manipulate strings.

  • Java Arrays

    An array is a container object that holds a fixed number of values of a single type. The length of an array is established when the array is created. After creation, its length is fixed. You have seen an example of arrays already, in the main method of the "Hello World!" application.

  • Java Date and Time

    SimpleDateFormat is a concrete class for formatting and parsing dates in a locale-sensitive manner. SimpleDateFormat allows you to start by choosing any user-defined patterns for date-time formatting.

  • Java Regular Expressions

    The pattern defined by the regex may match one or several times or not at all for a given string. Regular expressions can be used to search, edit and manipulate text. The process of analyzing or modifying a text with a regex is called: The regular expression is applied to the text/string.

  • Java Methods

    A method is a set of code which is referred to by name and can be called (invoked) at any point in a program simply by utilizing the method's name. Think of a method as a subprogram that acts on data and often returns a value. Each method has its own name.

  • Java Inner classes

    Nested Classes. In Java, just like methods, variables of a class too can have another class as its member. Writing a class within another is allowed in Java. The class written within is called the nested class, and the class that holds the inner class is called the outer class. Syntax.

Start with 3 days free trial.

Duration: 2 Month
Schedule: 1.5 Hours/ 5 Days a week