Call Us at: 8056 966 366 / 9500 960 135
Mail us at: info@cloudcareersolutions.com

BASIC FOR JAVA

Java programming language was originally developed by Sun Microsystems which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems’ Java platform (Java 1.0 [J2SE])  The latest release of the Java Standard Edition is Java SE 8. With the advancement of Java and its widespread popularity, multiple configurations were built to suit various types of platforms. For example: J2EE for Enterprise Applications, J2ME for Mobile Applications.   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 is very easy to learn, and its syntax is simple, clean and easy to understand.

JAVA TUTORIAL

This tutorial would help you learn Java like a pro. I have shared 500+ tutorials on various topics of Java including tutorials on core java and advanced Java concepts and Java programming examples. This core Java Tutorial contains the links of all the tutorials in a systematic order starting from beginner’s level to the advanced topics. Whether you are a college student looking for learn Java programming or a company employee learning advanced Java topics for building an application in Java, this Java tutorial would definitely be useful for you. Let’s start learning.

Java Tutorial advance

To learn Java programming, refer these tutorials in the given order. These tutorials are written for beginners so even if you have no prior knowledge in Java, you won’t face any difficulty understanding these tutorials(this page includes core Java tutorial and advanced Java tutorial).

Tutorials on Java basics

Start from here. An introduction to java and java basics with examples.
1. Introduction to Java
2. Java Virtual Machine(JVM) Basics
3. First Java Program
4. Variables in Java
5. Java Data Types

In this Java Tutorial blog, I am going to introduce you to some of the basic concepts of Java. But before moving ahead, I would suggest you to get familiar with “What is Java”, features of Java and how can you install Java on your system, which I have covered in my previous blog. This will help you grab the coming concepts quickly and easily. The other blogs in this Java tutorial series written by our Java Trainingexperts will cover all the important topics of Java & J2EE in depth.

Now, let us move ahead in this Java Tutorial blog, where we will understand each aspect of Java in the following sequence:

Let’s get started with the first topic in Java Tutorial blog i.e Hello World Program.

Hello World Program

First of all, I will give you a simple overview of how a Java program looks like. In the below code, I have created a class – MyFirstJavaProgram and printed “Hello World”. Go ahead and try to execute the below example in your Eclipse IDE.

Java Tutorial: Data Operators

There are mainly 4 different types of operators, which are listed below:

  • Arithmetic Operator: Perform arithmetic operations such as addition, subtraction, multiplication, division and modulus.
  • Unary Operator: Unary operators are used to increment or decrement a particular value. For example: ++ stands for increment, – – stands for decrement.
  • Relational Operator: It defines some kind of relation between two entities. For example: <, >, <=, >=, !=, ==.
  • Logical Operator: Logical operators are typically used with boolean (logical) values

Java Tutorial: OOPs Concept

We have already discussed about classes and objects in Java. Let’s discuss the 4 main concepts of object oriented programming – Inheritance, Encapsulation, Polymorphism and Abstraction. Let’s begin with the first concept i.e. Inheritance.

Inheritance:

Most of you must be familiar with inheritance. Inheritance is a process where one class acquires the properties of another. But whose properties are inherited? Here we have two classes, a child class which inherits the properties of a base class.
A Class which inherits the properties are known as Child class. It is also referred as derived class or a subclass. Next, the class whose properties are inherited are known as Parent class or a base class.

Polymorphism: 

          Polymorphism is the ability of a variable, function or object to take multiple forms. The most common use of polymorphism in OOPs occur when a parent class is used to refer a child class object. Polymorphism is also achieved through function overloading. Don’t worry! I will be explaining the whole concept in my next blog. For now, let’s take a real life scenario where a teacher tells student to draw different shape/figure having different functionalities.

Abstraction:

It is basically the quality of dealing with ideas rather than events. Abstraction is the methodology of hiding the implementation details from the user and only providing the functionality to the users.

Leave a Reply