Is Javaing Programming language better than .Net Framework?
I cannot find the answer for this question?
Pls reply to me for answer.
Printable View
Is Javaing Programming language better than .Net Framework?
I cannot find the answer for this question?
Pls reply to me for answer.
Welcome!
I can't say one is necessarily better than the other, they are simply different. Unfortunately, I don't know C# (or what ever it is that gets access to the .Net framework) very well, so I can't make a fair comparison of the two languages. Here's the pro's and cons of Java:
Pro
Cross-Platform compatibility
Huge API and tons of example code
Fairly easy to learn, and very similar to the C/C++ syntax (there are tons of languages based off the C/C++ syntax)
Object-oriented
Swing library
Web integration (via apples, Java EE, etc.)
No need for direct memory management (Java has a garbage collector)
Con
Pretty bad hardware interaction (has to go through JNI/another programming language)
*Slight* loss of performance because of the JVM (Note that this difference is almost completely negligible now because of Just-In-Time compilation of Java byte-code)
I'm sure there are other items in each category, but this is a fairly brief list and hopefully will give an idea of what Java is strong in and what it's not so strong in.