why Java is not purely object oriented?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

smal talk is pure object oriented or not?

1730


why we use mantis? what u mean mantis in IT trends? addvantages of mantis?

1988


My Qualification is MCA.My interview is on 5th may.They may ask q as------AS u r MCA...Why u r not tring anywhere else? What can be the ans?

1742


What is Negative testing?

1729


How do i find out the number of parameters passed into function?

2442


what is the difference between SCAN AND CHECK,LOKUP AND XFOOT? where we can use thease opcodes? Can any body tell me real time senariao with example?

2351


Hi guyes, I have cleared 2 technical rounds with cts for liferay and java techonologies, i have client round next week, please tell me how to prepare for this what questions i should be ready to face?

3596


What's the difference b/w Table & Templete in Smartform?

1890


Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 2 numbers. Find the missing numbers.

1045


Hi can you please send me recent(present) interview questions and technical qyestions with answers for "BUSSIESS OBJECTS" and "DATA WAREHOUSE".pls its urgent for me my mail id is sekhar.cs82@gmail.com,manjuforgis@gmail.com. thanks in advance

1801


1) How can u create the table?

1623


what is meaning of MDM in sap?let me know that meaning

1948


write the a cl program with the following specification A. Accept 2 parameters-date and date type B. if date type is J then convert date to *MDY format C. if date type is M convert date to *JUL format 4.send a program message with the value of converted date Please explain for each with coding?

2421


i want to improve my english vocab for racking campus written exam plz tell me best book for prepration......

1933


what is delegate and how works delegate and event.

1976