overview of java programming
It is a object oriented programming because in java every program is written with class and objects.we are creating class and writting methods,calling that methods by objects.thats why java is a object oriented language.java was introduced by James Gosling in 1995 at sum microsystems.before naming java..,javas old name is oak.oak was introduced in 1991.
After that it changed as java program.
Why java is a high level language because in c programming is procedural language every program is written in step by step process but java was not like that.it is a high level programming language.
Here we are going to know some features of java.why should learn this features?because,if you learn this features we have some idea about what is java ,what is the importance in it.
Java is a high level programming language.
Features of java:
-
1.simple
-
2.platform independent
-
3.portable
-
4.compiled and interpreter
-
5.object oriented programming
-
6.robust
-
7.secure
-
8.dustributed
-
9.multithreaded
-
10.high performance
-
11.dynamic
Explanation:
1.simple:
Java is a easy to learn.because java does not have pointer and memory allocation concept when compared to c and c++.that’s why java is a simple and easy language.
2.platform independent:
Java is a platform independent.in java we can write program once and run anywhere.we run java programs in any platform.
3.portable:
It is one of the best feature because we can send program from one system to another system easily.
4.object oriented programming:
Java is a object oriented programming language.in java each and every program start with class ,objects and methods.we can call methods by objects that’s why it is a object oriented programming language.
5.high performance:
In java jit compiler is their.jit stands for just in time compiler.thats why java programs compiled very fast and give errors of that program fast.
6.compiled and interpreter:
In java this is the unique feature.In every programming language either compiler or interpreter is present but in java works with both compiler and interpreter.compiler means checking errors at the time but interpreter checks errors line by line.
Java provides compiler feature to make check and create bytecode file after compilation it goes to interpreter to run the program and gives machine code for that program.
7.secure:
Java provides security for the program that’s why java programs is used in anti virus software to give security.we are getting harmful message notification due to the java program in mobile apps.
8.robust:
Java is a robust.robuat means strong programming language.because it does not have pointer concept still it can handle errors, automatic garbage collection.
9.distributed:
Distributed is the another feature in java.
Distributed means we can create many files using java.we can call files by methods and objects in internet .
10.dynamic:
Java is a dynamic.because it links all class,objects,methods by libraries.thats the reason after calling methods we are easy to access files.
11.multi threading:
This is the important concept in Java.In other programming languages we can run only one program at the time but in java we can run multiple programs at the time we need not to wait for completion of every program.in java every program is running in separate tabs we can check the output easily and quickly to run all programs.
FAQ
1.What is Java?
A. Java is a high level programming language,object oriented programming language.
2.Why is Java called a simple language?
A.Java is a simple language because there is no pointer and memory allocation concept compare to other programming languages.
3.Why is Java object-oriented?
A.java is a object oriented programming language.In java programs every program consists classes and objects.thats why it is called object oriented.
4.Why is Java platform independent?
A.Java is a platform independent means we can write program once run any where.
5.What is meant by “Write Once, Run Anywhere” (WORA)?
A.writting program in one place and running that program in any OS that’s why WORA.
6.Why is Java portable?
A.java provides protability.portable means easily send programs from one system to another system.
7.Why is Java secure?
A.java is secure it verify bytecode ,memory management,and used in anti virus applications
8.Why is Java robust?
A robust means strong,even there is no pointer concepts it store values in automatic garbage values.
9.Why is Java interpreted?
A it checks every line program and gives machine code for the program.
10.Why is Java high performance?
A java has jit (just in time) compiler to make every program compile easily and fast.
11.What is multithreading in Java?
A.multithreading means multiple programs run at the time in one platforms.we need not wait for each program.
12.why java is a dynamic?
A.Java is a dynamic.because it links all class,objects,methods by libraries.thats the reason after calling methods we are easy to access files.