Java OOPs Concepts

Java OOPs Concepts

In this page, we will learn about basics of OOPs. Object-Oriented Programming is a paradigm that provides many concepts such as inheritancedata bindingpolymorphism etc.

OOPs

Object means a real word entity, for example, pen, seat, table and so on. Object-Oriented Programming is a strategy or paradigm to design a program utilizing classes and protests. It streamlines the product advancement and upkeep by giving a few Concepts:
  • Object
  • Class
  • Inheritance
  • Polymorphism
  • Abstraction
  • Encapsulation

Object

Any element that has state and behavior is known as a question. For instance: seat, pen, table, console, bicycle and so on. It can be physical and sensible.

Class

Accumulation of objects is called class. It is a logical entity.

Inheritance

When one object gets every one of the properties and practices of parent protest i.e. known as Inheritance. It gives code reusability. It is utilized to accomplish runtime polymorphism.

Polymorphism

When one errand is performed by various ways i.e. known as polymorphism. For instance: to persuade the client in an unexpected way, to draw something e.g. shape or rectangle and so on.
In Java, we use method overloading and method overriding to achieve polymorphism.
Another example can be to speak something e.g. cat speaks meaw, dog barks woof etc.

Abstraction

Hiding internal details and showing functionality is known as abstraction. For example phone call, we don’t know the internal processing.
In Java, we utilize conceptual class and interface to accomplish reflection

Encapsulation

Authoritative (or wrapping) code and information together into a single unit is known as encapsulation.
A java class is the case of encapsulation. Java bean is the completely exemplified class because every one of the information is private here.
Java Training in Chennai @ Greens Technology
Learn Java Training In Chennai At Greens Technologys — No 1 Java Training Institute In Chennai. Call 89399–15577 For More Details. Enroll today to learn fundamental center Java Training to go for cutting-edge J2EE Java Training in Chennai.
Rated as No1 Leading Java Training Institutes in Chennai offering classroom training, practical training, and online training. Java Training Center in Chennai is located in Adyar, Velachery, Tambaram, and OMR. Call Now: 8939915577.
Java Training in Chennai

Comments

  1. Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article. thank you for sharing such a great blog with us.
    python training institute in marathahalli | python training institute in btm

    ReplyDelete
  2. Thank you for this post. Thats all I are able to say. You most absolutely have built this blog website into something speciel. You clearly know what you are working on, youve insured so many corners.thanks
    Java training in Bangalore | Java training in Electronic city

    Java training in Bangalore | Java training in Marathahalli

    Java training in Bangalore | Java training in Btm layout

    Java training in Bangalore | Java training in Jaya nagar

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete

Post a Comment

Popular posts from this blog

JavaFX - Overview

Selenium WebDriver Course in Chennai

Java - Files and I/O