Friday 19 May 2017

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:-
  1. Simple 
  2. Object-Oriented
  3. Secure
  4. Portable
  5. Platform Independent
  6. Robust
  7. Architecture Neutral
  8. Dynamic
  9. Interpreted
  10. High Perfomance
  11. Multithreaded
  12. 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:- 
  1. Object
  2. Class
  3. Inheritance
  4. Polymorphism
  5. Abstraction
  6. 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.

Portable and Independent:-


figure:- Portable and Independent


Why java independent:-

Java is a platform independent, Because when we  install  jdk software on our system then automatically JVM are installed on our system. For every operating system separate JVM is available which is capable to read the .class file (byte code). So we will be able to run it on Windows, Linux, OS X etc.  


No comments:

Post a Comment