Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Hello!

  1. #1
    Junior Member
    Join Date
    Mar 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Hello!

    Is Javaing Programming language better than .Net Framework?
    I cannot find the answer for this question?
    Pls reply to me for answer.
    Last edited by messenger; March 6th, 2010 at 09:52 AM.

  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Hello!

    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.

  3. The Following User Says Thank You to helloworld922 For This Useful Post:

    JavaPF (March 7th, 2010)