Results 1 to 6 of 6

Thread: is java is a..

  1. #1
    Contributing Member
    Join Date
    May 2007
    Answers
    32

    Smile is java is a..

    hello

    is java is a pure object oriented programming language ?
    if not why ?

    can any one explain briefly please.


  2. #2
    Expert Member
    Join Date
    Dec 2006
    Answers
    204

    Re: is java is a..

    Java allows static variables, that can be accessed without objects.
    so its not 100% object oriented.


  3. #3
    Contributing Member
    Join Date
    May 2007
    Answers
    32

    Smile Re: is java is a..

    can any one explain by taking the example of primitive datatypes ?


  4. #4
    Junior Member
    Join Date
    May 2007
    Answers
    10

    Re: is java is a..

    Quote Originally Posted by samineni6 View Post
    hello

    is java is a pure object oriented programming language ?
    if not why ?

    can any one explain briefly please.
    java claims to be a pure object oriented programming lang. but,actually it doesn't supports all features of oops.
    For example Object-Oriented language should have: All pre-defined types are Objects but by its inclusion of "basic" types that are not objects, it fails to meet this quality

    so, java is not a pure object oriented language .It is a hybrid language
    A "hybrid" language may support some of the qualities of oops, but not all.

    ok i'm givining oop's concepts also here

    1.Encapsulation/Information Hiding
    2.Inheritance
    3.Polymorphism/Dynamic Binding
    4.All pre-defined types are Objects
    5.All operations performed by sending messages to Objects
    6.All user-defined types are Objects

    Among all these java doesn't supports 4th and 5th concepts of oops


  5. #5
    Expert Member
    Join Date
    Oct 2005
    Answers
    383

    Re: is java is a..

    Quote Originally Posted by Barbie View Post
    Java allows static variables, that can be accessed without objects.
    so its not 100% object oriented.
    Also multiple inheritance is not implemented in java.
    also the declaration of variables, i.e primitive data types are used(which is other reason it is not object oriented THOUGH Wrapper classes are used to solve this issue)
    I hop u r getting me (w.r.t primitive data types)

    Last edited by vmshenoy; 05-28-2007 at 05:02 AM.
    :)
    NEVER SAY DIE.

  6. #6
    Junior Member
    Join Date
    May 2007
    Answers
    15

    Re: is java is a..

    Java is not a pure object oriented language.

    i can say 99% object oriented programming langauge .

    because it supports primitive data types .
    like int ,long , double... etc


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact