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

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?

3358


Any real time example of O2C process from taking order till creating invoice.

1782


what is adodb??y it is used for connection of V.B and access??what is ado?dao?

1766


what are all the validation we need to perform in data stage?

1942


I have try to write a record in a TDQ from a fle.... what are the steps to do... can anybody plz come with a solution

2205






in teradata level primary in table level allows duplicates why?

1639


what is web service in java? have u use before.

1623


You are given some denominations of coins in an array (int denom[])and infinite supply of all of them. Given an amount (int amount), find the minimum number of coins required to get the exact amount. What is the method called?

596


the systematic access of small computers in a distributed data processing system is referred as?

2712


sample code for data transfer between two r/2 systems and r/3 systems?

1489


what will we require to build project with the help of oracle

1377


Tell me the jobs for the MCA Fresher in delhi, Noida..

1899


what is programmable BIST in today ic design

1639


what is diff bet ref variable & instance of class

1542


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?

1914