Tuesday, August 28, 2012

Java Interview Questions - General



What are the features of Java language?

Platform Independence - Write Once, Run Anywhere.


Object Oriented - Everything in this Universe is an Object.Even in Java, everything can be a object, making the programmer life easier in making him/her to relate the programming to the real world.

Simple - All the complexeties that exists in C and C++ are elimated or repaired to make them easy.

Robust - More Stress is laid on Complier to detect errors.Mechanism involved in handling the exceptions make the application built in java minimal chances to crash.

Multi Threaded - Java is multi threaded where the task is shared among threads and making the program time efficient.

Security - Java Provides sevaral tools to help you manage access to resources on any system.

Rich API- Java has tons of libraries which are ready to use.

Please click here for the detailed explanation.

Why do you choose Java?


First reason that I chose Java is beacuse of the Object Oriented Programming.

By having a Object Oriented programming language, the programmer can relate the programming to the real world and it maked to break the complex problems to small chunks thus making the program more efficient.


Platform Independence - As a programmer, I don't like to build my source code once for each plat form.It would be good If I build it once and if the complied code runs anywhere on any machine in the universe provided they have the compatible JVM.

Secure - Java is Simple when compared to many other programming languages.

Rick API- Java has tons and tons of library classes where one can use them readymade.

Java is Vast - There are many open source technologies that are built on Java.Java is vast giving the programmer many options to design a application.There are many framerworks, patterns, open source technolgies,extension built on top of Java(Ex:Spring, Hibernate etc.)

What is Object Oriented Programming ?
Object Oriented programming starts by considering everything that we see as an object.The object oriented approach involves the below three steps.


1) Identify different type of Objects
2) Define the state and behavior of each object
3) Define the Object Interaction.

Please click here for the detailed explanation.







No comments:

Post a Comment