UrbanPro
true

Learn Java Training from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Core Java

Gnv Satyanarayana
02/08/2017 0 0

Introduction:

An Object Oriented Programming Language consists of Objects. There are object oriented programming languages like Smalltalk, C++. Each and every OOP language has some underlying disadvantages. C++ has some disadvantages like Security, Robust and Platform dependent. All these disadvantages make C++ inappropriate choice for developing a secured we application. To overcome all these disadvantages, James Gosling came up with a programming language “Java” in 1995 in Sun Microsystems. There are many advantages of Java as a programming language. They are Portable, Secured, Reliable, Robust, Platform Independent etc.

1. Portability:

Portability is an advantage of Java. This is a feature which makes Java to be used in various devices like mobiles, PCs etc. An application that is developed for pc can also be used in mobiles as android application.

2. Secured:

Using Java, we can develop secured web applications. In Java, we have security features that help us develop secured applications.

3. Reliable:

Java as a programming is more reliable. Reliability means an application developed in Java executes more reliably using security, class loader mechanism etc.

4. Platform Independent:

This is the most important feature of Java. It works mainly on the principle of wora (write once run anywhere). Whenever we write a Java class and compile that class, a .class file will be created. The JVM installed in a machine convert this .class file into machine specific code. This machine code is called machine language. It is interpreted and executed leading program output. That’s why in most cases, the coding is done in one system (windows) and deployment is done in another (Linux).

5. Software requirements:

  • Windows/Linux OS.

  • JDK (any version).

  • Any Application Server/Web Server (For Web Applications).

  • Installation.

  • Install JDK.

  • Setting variables.

The following variables are to be set:

  • Path and/or JAVA_HOME

  • OOPS

In Java, OOPS principles form the main pillars. They are Abstraction, Polymorphism, Inheritance and Encapsulation.

1. Abstraction:

Abstraction is an OOPS principle where the main focus will be only on the functionality hiding the implementation details. In java, abstraction can be achieved by using abstract classes and interfaces. A buyer will be looking only for some basic things like no of seats, space etc. The salesman will not tell about the internal working of the car.

2. Polymorphism:

Polymorphism is an OOPS principle where a method exhibits different behaviours. There are two types of Polymorphism. Method Overriding and Method Overloading. Method Overriding is method having same name type, same parameter list both in super class and sub class. Method overloading is multiple methods with same as long as the parameters are differing.

3. Inheritance:

Inheritance is another OOPS principle where subclasses inherit properties from Super class. Properties means both data members and data variables. Dog inherits properties from Animal class.

4. Encapsulation:

Encapsulation is binding data members and data variables in a single unit called object. When a class is defined and an object is created for that class, each object will have its own copy of data members and data variables.

0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

Interview Tip : Q1) Why Strings are immutable in java ? What happen if it was mutable in java?
As we all know that Strings in java are immutabe in nature, now the question comes why the creator made it immutable in nature, although this field used maximum in any java program. The answer to this...

Method Overloading vs Method Overriding
1. Method Overloading: Method overloading means a same method with same name can have different implementations/body by changing one of the follwing thing: 1) Number of Parameters 2) Order of Parameters 3)...

How can everyone prepare to clear any Java interview?
Java interview your java should be much strong then J2EE. core java and Advance java is the basic foundation for Interview. Some of the topic about which you should know before going for a java interview...

Why Should We Learn Java Language?
Most of starters has confusion today that which of the programming language should be chosen to work on. It totally depends upon your need. As per my opinion, if you want to grow your career in IT industry...

What Is Applet & Its Life Cycle?
What is Applet & its life cycle?Applet is a Java programme that can be embedded into HTML page.Java Applet runs on the java enables web browsers such as Mozilla & Internet Explorer.Applets are...
I

ICreative Solution

0 0
0
X

Looking for Java Training Classes?

The best tutors for Java Training Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Java Training with the Best Tutors

The best Tutors for Java Training Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more