Computers & Internet Logo

Related Topics:

Posted on Sep 12, 2008

J2SE Java is not pure (100%) object oriented langauge Why?

1 Answer

Anonymous

Level 1:

An expert who has achieved level 1.

Problem Solver:

An expert who has answered 5 questions.

  • Contributor 6 Answers
  • Posted on Sep 21, 2008
Anonymous
Contributor
Level 1:

An expert who has achieved level 1.

Problem Solver:

An expert who has answered 5 questions.

Joined: Sep 20, 2008
Answers
6
Questions
0
Helped
787
Points
7

Many languages claim to be Object-Oriented. While the
exact definition of the term is highly variable
depending upon who you ask, there are several
qualities that most will agree an Object-Oriented
language should have:

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
Fair enough...

Java IS by virtue of 1, 2, 3, and 6.
Java IS NOT by virtue of 4 and 5 (not all pre-defined types are Objects, and not all operations are performed by sending messages to Objects).

But since the definition says only that an OOPL should have these things, then Java qualifies.

Next up; given that definition, how would one define "100%"? Exhibiting all those qualities? If that's the case, Java fails the "purity test".

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
1answer
0helpful
1answer

I need to write a java code for a one player snakes and ladders game

http://www.scribd.com/doc/31905900/Java-Programming-Creating-a-Snake-and-Ladders-Game-and-Object-oriented-concepts
if you go to the website it will teach you how to do it
0helpful
1answer

Why main function is made static in java

Hi,
Its very easy dear. In java everything is object oriented. You will call a function through an object. Now we are calling the main method without any object as we do not create any object of the class that contains a main method. So call the main method we need to declare main as static methos so its not a part of an object but a class so that mian method can be called without having creating any object of the class.
Regards, polysandy
0helpful
1answer

Applets in java

I recomend you reading Sun's Java tutorials here:
http://java.sun.com/docs/books/tutorial

Specially the Swing one:
http://java.sun.com/docs/books/tutorial/ui/index.html

1helpful
1answer

JAVA multiple programs on disk

no you don't. Just keep the most recent version.
0helpful
1answer

I need a java code

I really needy of sourcecode of badmintone game in java
pls send it to my ID "[email protected]"
0helpful
2answers

Java

you can dowload the latest Java if you have issues regarding with your java installed.

visit http://java.com/en/

hope this helps.
Not finding what you are looking for?

331 views

Ask a Question

Usually answered in minutes!

Top Sun Computers & Internet Experts

Rob Hill
Rob Hill

Level 3 Expert

1480 Answers

k24674

Level 3 Expert

8093 Answers

Sean Wright
Sean Wright

Level 3 Expert

2045 Answers

Are you a Sun Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...