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 |
what is jackson structured develepment?? and how is it different from OMT??
Wrtite a JCL for sorting a file with start from 36 postion lenth 9 excluding a num eq to 98768. for 3 marks mainframe
What is abstract Method i want the exact definition and is there any possibility to declare class as abstract without any abstract methods in that class?If it is possible then tell me why and how?
What is Negative testing?
can we extend a class having only one parameterised constructor.Suggest the process to do it.
how to convert the data from HTML file to SAS dataset?
I m Abdullah Ansari compleated MCA from Jamia Hamdard,i have appeared the test of IBM on 2 august at oxford college of engineering Bangalore.waiting for hr round.. This is the first round for IBM.02/08/08 Paper consists of 4 sections 15 questions from matrices(time very less but no negative marking). 25 questions from series completion section (this section is very easy but negative marking) 15 questions from aptitude(little bit tough time limit 15 minute negative marking) 4th section is from computer science (c,c++,operating system,digital electronics ,basic question..) result came at 3 o'clock.i was selected... In interview they asked questions like 1 they asked about final yr project.. 2 what are dynamic and static memory location? 3 linked list and array difference between them. 4 what is function ? what is difference betwen function and inline function? 5 about structure 6 about binary tree, traversal, call by value. 7 storage class and many more basic questions..
why we use static with only main()class not with other class
iam confused among testing ,.net and java. can anybody help me.
what is difference between object oriented programming structure and object oriented programming system?
needs examples for black box testing and white box testing
what is the current salary package in India for a lamp programmer