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 |
Which tag is used to break a line
Write a function which accepts a sentence as input parameter.Each word in that sentence is to be reversed. Space should be there between each words.Return the sentence with reversed words to main function and produce the required output. for eg:- i/p: jack jill jung kill o/p: kcaj llij gnuj llik
you have an unlimited supply of $3 and $7 poker chips. What is the largest integer value that you cannot make by combining different numbers of chips?
through which algorithm does the garbage collector works? how the garbage collector will understand that the object will going to be deleted?
List and explain any five built in functions for Lists data type in python
hai i like to do some certifications in programming or any other......... am doing my IT third year......... pls guide me...... mail me ur suggestions to ranjithmaharaj@gmail.com...
can we extend a class having only one parameterised constructor.Suggest the process to do it.
Given a arbitrary pointer to an element in a singly linked list?what is the time complexity for its deletion .
Write a shell program. Enter number of days from keyboard. Find out the number of years, month and days it contains
differences between qtp10.0 and 11.0 ?
what is difference between input parameter and output parameter.
What is the use of sas software? Is sas and sap are different?