Header Ads

Header ADS

Introduction to java programming

Introduction to java programming,what is basics of java


Java is a high-level programming language originally developed by Sun Microsystems and 

released in 1995. Java runs on a variety of platforms, such as Windows, Mac OS, and the various 

versions of UNIX. This tutorial gives a complete understanding of Java. This reference will take 

you through simple and practical approaches while learning Java Programming language.



Java Features-

Java is simple as compared to C & C++  pointers is not allowed in java while C and C++ uses the concept of java.

1. Java is object oriented.
2.  Java is robust.
3. Java is secure language.
4. Java is Light weight &simple.
5. Java is High performance Language.
6. Java is open source language.
7.Java uses the concept of multithreading.
8. Java is funtional programming Language.
9. Java is distributed Language.
10. Java is Plateform independent. 

object oriented-
As we know that Java have all data in the form of object,and the put object we make class.

class
{
   property-Data member;
   behavour-Member function;
}

Which follows  oops that is called object oriented programming.

Plateform independent-
 As we know Compiler vary os to os.
In the java compiler compile the source code and generate the byte code while byte code is the reduced form of the source code.
Ex- if source code in MB the byte code will be in the form of the KB.

Java is plateform independent because java will not gives machine code at the compile time.at compile time it will give byte code.
it give machine code at run time.

Byte code is nothing it is the simply collection of symbols,and every symbol take one byte place.

Java supports Functional programming:
Since Java SE version 8 (JDK 8), Java is updated with functional programming feature like functional interfaces and Lambda Expressions. This increases the flexibility of Java.

 Java is Robust:

With automatic garbage collection and simple memory management model (no pointers like C/C++), plus language features like genericstry-with-resources,… Java guides programmer toward reliable programming habits for creating highly reliable applications.

Java is Secure:

The Java platform is designed with security features built into the language and runtime system such as static type-checking at compile time and runtime checking (security manager), which let you creating applications that can’t be invaded from outside. You never hear about viruses attacking Java applications.
 Java is High Performance:

Java code is compiled into bytecode which is highly optimized by the Java compiler, so that the Java virtual machine (JVM) can execute Java applications at full speed. In addition, compute-intensive code can be re-written in native code and interfaced with Java platform via Java Native Interface (JNI) thus improve the performance.

Java is Multithreaded:

The Java platform is designed with multithreading capabilities built into the language. That means you can build applications with many concurrent threads of activity, resulting in highly interactive and respo      

Java is Simple:

The Java programming language is easy to learn. Java code is easy to read and write.

Introduction to java programming
Features of java

Java is Familiar:

Java is similar to C/C++ but it removes the drawbacks and complexities of C/C++ like pointers and multiple inheritances. So if you have background in C/C++, you will find Java familiar and easy to learn.







                           Thank you




1 comment:

for more information plz do comment and follow my blog.

Powered by Blogger.