Monday, 25 June 2018

Introduction of OOP in Java


Morning Everybody

In this article today we are going to learn  "Introduction of Oop in Java ". So let`s get started.

" Object Oriented Programming " (OOP) is a way to create and maintenance the application by providing some rules.

Simula is the first Object Oriented Programming language.

Smalltalk is the first truly OOP language. Truly OOP means all thing is represent with object.

Basic concepts of OOP are:
  1. Class
  2. Object
  3. Inheritance
  4. Encapsulation
  5. Polymorphism
  6. Abstraction

1. Class:

Class is User Define Data Type or class is Collection of Data Member (Variable), Member Method (function) ,constructor, subclass , interface and access modifier.

2. Object:

Object is Runtime Entity or object is instance of class it represents class members (data member  , constructor, subclass , interface and access modifier and member method).  

 

3. Inheritance: 

Inheritance means one class may acquire property and method of other class.

4. Encapsulation:

Encapsulation means wrapping up code and data in single unit.

5. Polymorphism:

Polymorphism is Greek term “poly” means many and “morphism” means form  .In other word one task is perform by different way.

6. Abstraction:

Abstraction means hiding details and showing only functionality. Abstraction is achieved using Abstract Class and Interface.

Thank you.Have a nice day.

" Be Student , Be Curious "

For more detail watch this video :




Saturday, 16 June 2018

Introduction And History of Java

Morning Everybody

In this article today we are going to learn  " Introduction And History of Java ". So let`s get started. First question is that :

What is Java ?


Java is secure , platform independent (OS independent) and Object Orient Programming language (OOP).

 

Introduction and history of Java :


Java was conceived by James Gosling, Patrick Naughton, Chris Warth, Ed Frank, and Mike Sheridan at Sun Microsystems, Inc. in 1991.

Initially Java call " Greentalk " (because it developed by green team ) and file extension is .gt than it call "oak".Oak denotes strength and oak is national tree of many countries.

Than oak was renamed as Java in 1995.

Java is place island of Indonesia where first coffee was Come.Now Java subsidiary of Oracle Corporation.

Initially Java is Developed For digital devices such as set-top boxes, TV and some other device.Now Java is used to create many types of application such as  Desktop application , Web application,  Mobile application, Game application, E-business Application. According to Sun Microsystem Java run 3 billion Device.


Thank you.Have a nice day.

 " Be Student , Be Curious "


For more detail watch this video :