365edu Online Tutorials

Monday, February 8, 2010

In what way java is 'simple'?

In what way java is 'simple'?

Ans:) No langauage is simple,but JAVA is a bit easier compared to the popular object oriented programming language C++, which has been the dominant software development language in the past.Java is partially modelled after C++,but greatly simplified and improved.For example,pointers and multiple inheritance in C++ make programming complicated.Java replaced multiple inheritance in C++ with a simple structure called interface and eliminated pointers. Java uses automatic memory allocation and garbage collection, while C++ requires the programmer to allocate memory to collect the garbage

What are the features of java?

What are the features of java?

Ans:) As stated in the Java language whitepaper by SUN:" Java is simple,objet oriented,distributed,interpreted, robust,secure,architecture neutral,portable,high performance, multithreaded and dynamic".

What is OOP

What is OOP
Ans:) OOP is the fullform for "Object Oriented Programming". Object Oriented Programming providesgreat flexibility,modularity,clarity,and reusability through method abstraction and class inheritance

Java Interview Questions

What is JAVA?
Ans:) Java is a cross-platform,object oriented,network based and multimedia ready language. Java, formerly known as oak, is an object-oriented programming language developed by Sun. It shares many superficial similarities with C, C++, and Objective C (for instance for loops have the same syntax in all four languages); but it is not based on any of those languages, nor have efforts been made to make it compatible with them. Java is the internet programming language as the future of computing is highly influenced by the Internet.