Posts

Showing posts with the label Object oriented concepts

POLYMORPHISM IN JAVA

  POLYMORPHISM One name but multiple form is concept of polymorphism. This allows us to perform a single action in different ways.

FEATURES OF JAVA

List of most important Java features Simple Object-Oriented Portable Platform independent Secured Robust Architecture neutral Interpreted High Performance Multithreaded Distributed Dynamic  Simple Java is very easy to learn, and its syntax is simple, clean and easy to understand. 

HISTORY OF JAVA

History of java     Initially developed by James Gosling at sun sun Microsystems (which is now a subsidiary of Oracle Corporation) and released in 1995. In 1995, Time magazine called  Java one of the Ten Best Products of 1995 .    Java team members  initiated this project to develop a language for digital devices such as set-top boxes, televisions, etc. However, it was suited for internet programming. Later, Java technology was incorporated by Netscape.            The principles for creating Java programming were "Simple, Robust, Portable, Platform-independent, Secured, High Performance, Multithreaded, Architecture Neutral, Object-Oriented, Interpreted, and Dynamic". JAVA was developed by James Gosling , who is known as the father of Java, in 1995.  WHY NAME JAVA - According to James Gosling, "Java was one of the top choices along with  Silk ". Since Java was so unique, most of the team members preferred Jav...

OBJECT ORIENTED CONCEPTS

Image
OOPS CONCEPTS  The popular object-oriented languages are Java, C#,php, Python,c++ etc. The main aim of object-oriented programming is to implement real-world entities.   Java is object oriented programming language. Object oriented programming features- 1) inheritance 2) encapsulation 3) abstraction 4) polymorphism    - run time polymorphism    - compile time polymorphism 5) association 6) composition 7) aggregation. Object Any entity that has state and behavior is known as an object. For example, a chair, pen, table, keyboard, bike, etc. It can be physical or logical. Class Collection of objects is called class. It is a logical entity. A class can also be defined as a blueprint from which you can create an individual object. Class doesn't consume any space.