Java Expert Writer
Hello Friends welcome in java expert writer,
Today I write some content about Java Programming Language,
What is java programming language?
Java is a programming language and
platform, it was developed by Sun Microsystem in 1995. Java is a Object
Oriented programming language and there are some feature such as:-
- Simple
- Object-Oriented
- Secure
- Portable
- Platform Independent
- Robust
- Architecture Neutral
- Dynamic
- Interpreted
- High Perfomance
- Multithreaded
- Distributed
let's see simple java program:-
class A{
public static void main(String args[ ])
{
System.out.println("hello java");
}}
· Simple:-
If we know about c++ programming language ,so
that we can learn easily because it is use the syntax of c++
programming language , so that java a simple language and there is no use of
explicit pointer, operator overloading.
Object-Oriented:-
Object-oriented programming (OOP)
is a programming paradigm based on the concept of “object”, which has state and behavior.
Basic concept of OOPs:-
- Object
- Class
- Inheritance
- Polymorphism
- Abstraction
- Encapsulation
Object And Class
Class:- Class is blueprint of an object, we can also say that class is define state and behavior of object. State is called data and behavior is called method. class includes variables,methods,constructors etc.
Object:- An Object is an entity and object of the class will have method and variables. In the other word object is a physical as well as logical entity.For example bike,table,chair,fan,television etc.
Figure:-
object class diagram
Now I will discus other oops concept later.
No comments:
Post a Comment