What is Database Architecture

The Features of Java OOP (Object-Oriented Programming) are the key principles that make Java a features object-oriented language.
Classes:-A class is a user define data type date contain data member and member function .A class is a group of similar type object that same have properties common be haviour and common relationship
Objects:- Object is instance of a class or real time entity of a class In OOP program is divided into number of object. it is a variable of a class object is an instance of class. Syntax:- Class-name, Object- name
Abstraction:-
The process of hiding is complex implementation in details and showing only the essential features to the user.
Abstraction means providing only the essential details to the outside world and hiding the internal details
Encapsulation:-
The building of data attributes and the methods operate on that data within a single (a class).
Encapsulation is data hiding by direct access to object's internal state and exposing it only through methods. This protects data integrity and allows for internal change without affecting external code.
Inheritance:-
The mechanism of deriving new class from an old class is called as inheritance acquires the properties and behaviors of another class
It promotes code reusability and establishes an relationship between classes, forming a hierarchy
Polymorphism:-
The polymorphism ability of an object to take on many forms that means. In Java, this primarily manifests through
.Method Overloading:- A child class provide its own version of a method from the parent class allowing it to change or extends the method functionally
Method Overriding:- A class can have multiple methods with the same name but different parameters making the code more flexible and readable
Comments
Post a Comment