Why Java is not purely object oriented?
Answer Posted / elecen
Java is mostly an OOP language, but
We expect an OOP language to support:
Multiple Inheritance (not just implementations)
Overloading of operators
Java is inconvenient because:
Doesn't support Pointers :\
Both lightweight and heavyweight controls are CRAPPY!
You need to write hundreds of overhead code just to add some
typical functionality!
Doesn't provide access to some centralized message loop!!! :\
Java Sucks Big Time Because:
Takes like a zillion years to execute code that would take
just a few nano seconds in C++
Has HUGE loading times compared to C++
Is a memory leech!!!
Can't pass objects by reference!!! (mentioned pointers
already, didn't I? ;) :\
Java's nice because:
Runs anywhere a JRE is available :)
But then again, QT based apps run on Win, Linux and Mac, so
why bother?! :p
Bottom Line:
I have NOT a clue why they insist in teaching Java in
universities, while the BEST approaching method has ALWAYS
been C++ with some Assembly :D
Cheerz
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
Why does java have two ways to create child threads?
How define set in java?
What is the primary benefit of encapsulation?
Explain the difference between collection api and stream api in java8?
Are there structures in java?
when to use ArrayList and when to use HashMap in webApplication.
How many bytes is a unicode character?
What is the difference between size and length in java?
Can you access non static variable in static context?
What is an empty string in css?
What is prefix of a string?
What is boolean law?
What is dot operator?
What is the major difference between linkedlist and arraylist?
What are the types of arrays in java?