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
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?
Any real time example of O2C process from taking order till creating invoice.
what is adodb??y it is used for connection of V.B and access??what is ado?dao?
what are all the validation we need to perform in data stage?
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
in teradata level primary in table level allows duplicates why?
what is web service in java? have u use before.
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?
the systematic access of small computers in a distributed data processing system is referred as?
sample code for data transfer between two r/2 systems and r/3 systems?
what will we require to build project with the help of oracle
Tell me the jobs for the MCA Fresher in delhi, Noida..
what is programmable BIST in today ic design
what is diff bet ref variable & instance of class
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?