Results 1 to 4 of 4
  1. #1
    lenny is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default Question about java object oriented Language

    Hi, my question is...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

  2. #2
    Seemster is offline Member
    Join Date
    Jul 2007
    Posts
    55
    Rep Power
    0

    Default

    Java is pure object oriented. C# is Micro$oft thereby equals crap. C# is a ripoff of Java by the boys out in Redmond. C# is not better than Java quite the opposite. You can make native platform dependent calls in Java. You want portability. Java encompasses everything in development including thick, thin clients, web application, server side applications, message queues etc..

  3. #3
    shanePreater is offline Member
    Join Date
    Jul 2007
    Location
    England, Bath
    Posts
    47
    Rep Power
    0

    Default

    The simplest answer is that it depends entirely on what the problem is you are trying to solve.

    For example, if you know you are only ever hosting on windoze boxes and want to take advantage of some performance tweaks from microshaft then why not use C#.

    If you want to write a low level driver which must respond quickly to input from a peripheral then C/C++ is the kiddie.

    If you want to write a well maintained scaleable website which runs off of disparate hardware then java is certainly the right choice (IMHO)

    So it really does depend on the problem domain you are trying to solve.

  4. #4
    cruxblack is offline Senior Member
    Join Date
    Jul 2007
    Posts
    130
    Rep Power
    0

    Default

    The only aspect of Java that are not pure object oriented language is the primitive variables

    U know, the int, char, double, they're not objects in Java, better that way though, if they were objects, maybe Java would run even slower than now, the speed on which some people has already consider to be slow

    Pure object oriented language are good in theory, but to achieve it surely requires a sacrifice of performance, that's the only major thing that limits Java from reaching a pure OOP base

    C# maybe not better than Java or Java better than C++, but what i have recognized is, the prequels are less safer in development, in terms of
    C# are safer than Java
    Java are safer than C++

    Because thats what the language designer are offering, they analyze the features of the older programming language and check what feature are prominent for causing bugs in development, so they minimize it

    Just like the Java inconvertible other type to boolean, eliminating direct pointers, those are for safety, so from my personal opinion, they'r not better than the older one, but yes, safer

    Though sometimes, being safe doesn't always give u the best result :D

Similar Threads

  1. Replies: 2
    Last Post: 11-26-2010, 02:12 AM
  2. convert a java binary/executable to a intermediate language
    By sumit_400461 in forum Advanced Java
    Replies: 1
    Last Post: 07-13-2008, 07:04 PM
  3. size of a java object
    By ravian in forum New To Java
    Replies: 0
    Last Post: 11-12-2007, 09:19 AM
  4. object lock question
    By simon in forum New To Java
    Replies: 2
    Last Post: 08-01-2007, 04:36 PM
  5. Creating object of Type Object class
    By venkatv in forum New To Java
    Replies: 3
    Last Post: 07-17-2007, 03:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •