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
No comments:
Post a Comment