why Java is not purely object oriented?
Answers were Sorted based on User's Feedback
Answer / anonymous
this almost timewaste question being asked by NoWork
interviewers.There is no exact answer forthis, up to now.
Is This Answer Correct ? | 9 Yes | 2 No |
Answer / paindriven
It isn't a pure OO language because you can use static members.
Eiffel is an example of a true pure OO language.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / swe
Java is a OOP language and it is not a pure Object Based Programming Language
Many languages are Object Oriented. There are seven qualities to be satisfied for a programming language to be pure Object Oriented. They are:
Encapsulation/Data Hiding
Inheritance
Polymorphism
Abstraction
All predifined types are objects
All operations are performed by sending messages to objects
All user defined types are objects.
JAVA is not because it supports Primitive datatype such as int, byte, long... etc, to be used, which are not objects.
Contrast with a pure OOP language like Smalltalk, where there are no primitive types, and boolean, int and methods are all objects.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / raj
java is not purely OO b'coz we can use primitive data types
int ,char etc in java.
Is This Answer Correct ? | 9 Yes | 6 No |
Answer / banti sharma
Yes Surendra Reddy is absolutely right Java is purely oops
because we cant write any Program in Java without declaring
a class.
Is This Answer Correct ? | 6 Yes | 5 No |
Answer / shashi pratap singh
java is nt purely object oriented,it is a pacakge-centric
language.In java we use primitive data type like int and
char in it and we can nt use multiple inheritence in
java.so it is nt purely object oriented.
Is This Answer Correct ? | 3 Yes | 2 No |
java is not purely Object Oriented bcoz java is both
compiled and interpreted.
as we knoe c is a compiled language(structured language
,procedural language)
where as java is compiled and interpreted.
therefore we can say that java is object oriented but not
purely object oriented.
Is This Answer Correct ? | 0 Yes | 2 No |
Answer / reddy
yes,this is d true, the java not purely oops,but it is a
truley object oriented programming language
Is This Answer Correct ? | 1 Yes | 5 No |
hi..this is kartheek..complted mca in 2009..but i dont have knowledge in programing..but to learn new language.. which one is suitable for me?is SAP or IBM mainframes is suitable for me..?if it suits how much will it costs..?pls answer...
smal talk is pure object oriented or not?
what are the advantages of sap on other software ?
if heap sort contains n elements, no of comparsions required are
hi friends i am ravi here , i have one problem at starting at the interview that is i have my 3+ it(java) years experiance profile so if i attend the interview interviewer ased me tel me about your profile so i not able to explain because i dont knw where to start and where to end and i dont know what i should tel and what i shouldnot tel .....so can any body please clear m doubts clearly.............please help me friends,i am awaiting for friends reply please.............
how to convert the data from HTML file to SAS dataset?
Diff between IF and where ?
Which design patterns have you used?
What is WEB 3.0? What are the features their in WEB3.0
can u send some model papers how computer awareness questions are asked in goverment jobs(oriental insurance)to my mail id me.priyankapadma@rediff.com
what is database?how to tell 3years boy or girl by using toys?
1. How many jobs can we write in a single file? 2. How many maximum members can exist in a single partition data set(pds) in jcl?