View Full Version : Why java is not pure object oriented Language?
hytechpro
12-26-2005, 08:03 AM
Hi,
Why java is not pure object oriented Language?
Why should C# be any better than Java? Why should both be any better than, say C++? Each language has its characteristics.
Java is an open language, available on all types of platforms. As I understand C# is a COM based programming language, with many features copied form Java. It is more recent and will probably have some enhancements.
Because it is purely Windows platform based, it will be better integrated with the OS than an platform-independent language. But you're constrained to using Windows.
Which is language is better for application Project.
Thanks:
hytechpro
Hi,
Why java is not pure object oriented Language?
Why should C# be any better than Java? Why should both be any better than, say C++? Each language has its characteristics.
Java is an open language, available on all types of platforms. As I understand C# is a COM based programming language, with many features copied form Java. It is more recent and will probably have some enhancements.
Because it is purely Windows platform based, it will be better integrated with the OS than an platform-independent language. But you're constrained to using Windows.
Which is language is better for application Project.
Thanks:
hytechpro
Trivial answer to why Java isn't fully OOP: int versus Integer types. It autoboxes int, but that isn't true OOP.
Why C# and Java are better than C++? C++ has lots of legacy from C, including pointer arithmetic. Doesn't mean C++ is worse than Java/C#, but different. And depending on the task, it can make memory leaking easier and the like.
C# is also available via Mono to Linux users, AFAIK. Not Windows-dependent.
As for which is better, pick your poison. They are similar enough that if you actually know OOP, the actual language doesn't matter in the slightest.
drhowarddrfine
12-26-2005, 10:05 PM
And you're right in many ways. One problem with C# is you are committing yourself to a Windows platform, though, as jkd pointed out, Mono makes it available on other platforms. But don't believe all the hype. While I like C#, Java is the dominant language, especially in enterprise situations. In fact, in my area, if you don't know Java, you don't know <insert here>.
By hype, I mean, you'll see a lot of articles and advertisement because it's the fairly new boy on the block. Just like you'll see a lot of adverts for .NET and web integration making it sound like everybody is using it but the truth is Apache and Linux/Unix/FreeBSD and Java rule the net by far.
oracleguy
12-27-2005, 02:57 AM
Java is the dominant language, especially in enterprise situations. In fact, in my area, if you don't know Java, you don't know <insert here>.
I'm gonna have to go and disagree with you there. Between the 3 (C#, C++ and Java) C/C++ is going to be the dominant one.
And I agree with jkd, if you actually understand/know OOP, the language you are using doesn't matter, the concepts are the same (for better or worse).
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.