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
In the below example, how many string objects are created?
Is list ordered in java?
Difference between object instantiation and construction ?
Can I import same package/class twice?
Which is illegal identifier in java?
What is final, finally, finalize?
What is the use of bufferedreader?
How can you set an applet’s height and width as a percentage?
What are the types of methodology?
What is sortedset in java?
Does apple use java?
When do you get classcastexception?
What are the advantages of packages in java?
What is a parameter in matrices?
Explain the difference between jvm and jre?