Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Why Java is not purely object oriented?

Answers were Sorted based on User's Feedback



Why Java is not purely object oriented?..

Answer / swetcha

Although Java is object-oriented to a great extent, it is
not a pure object-oriented language. One of the reasons
Java is not purely object-oriented is that not everything
in it is an object. For example, Java allows you to declare
variables of primitive types (int, float, boolean, etc.)
that aren't objects. And Java has static fields and
methods, which are independent and separate from objects

Is This Answer Correct ?    369 Yes 48 No

Why Java is not purely object oriented?..

Answer / subhashree

Yes ,java is not purely object oriented ,Only for the
primitive data type and for multiple inheritance

Is This Answer Correct ?    132 Yes 44 No

Why Java is not purely object oriented?..

Answer / pravin

yes,i have read in complete reference
because of datatype and static concept

Is This Answer Correct ?    75 Yes 10 No

Why Java is not purely object oriented?..

Answer / devarathnam

Hi... Java is not 100% object oriented ,because JAVA
doesnot support multiple inheritance directly.

Is This Answer Correct ?    74 Yes 31 No

Why Java is not purely object oriented?..

Answer / muthusenthil

yes, java is not purely object oriented because it uses
static keyword. this is the one and only reason.we can
perform a function declared as static without an object
this violates real world reflection and object orientation

Is This Answer Correct ?    71 Yes 33 No

Why Java is not purely object oriented?..

Answer / abhi

Java is an OOP language but not a pure Object Oriented
Programming Language.

There are six qualities to make a programming language to
be pure Object Oriented. They are:

i)Encapsulation/Data Hiding
ii)Inheritance
iii)Polymorphism
iv)All predifined types are objects
v)All operations are performed by sending messages to
objects
and vi)All user defined types are objects.

Primitive data types, such as int, char, boolean are not
Objects,which are used by Java.It's why Java is not a "pure
object oriented programming language".

Is This Answer Correct ?    15 Yes 2 No

Why Java is not purely object oriented?..

Answer / anjali purwar

Yes, JAVA is not purrely Object oriented because of the use
of primitive data types like char, int,bool,etc.

Is This Answer Correct ?    13 Yes 3 No

Why Java is not purely object oriented?..

Answer / ramakrishna y

Java is not purely object oriented becoz of 2 reasons.

1. Purely means every thing should be refferenced types
only.
But it contains primitive datatypes.

2. purely object oriented means every method should be
invoked with object only,main is there which can be invoked
using static keyword.

Regards,
Ramakrishna
J2EE Trainer

Is This Answer Correct ?    9 Yes 0 No

Why Java is not purely object oriented?..

Answer / rahul

Java is not a puerly object oriented language because
1) There is no concept called pass by reference in java
(primitive types are passed by value and objects references
are passed by value in java)
2) The concept of pointers is not used in java
3) we cannot implement multiple inheritance in java using
only classes and not an interface.

Is This Answer Correct ?    17 Yes 12 No

Why Java is not purely object oriented?..

Answer / hitesh singh

It is true Java is not purely object-oriented programmig
language because everything is not
in an object. e.g: Java allows you to declare variables of
primitive types i.e int, float, boolean, etc. that aren't
objects. And Java has static keyword which allow user to
create static methods and variables, which are independent
and separate from objects.we cannot implement multiple
inheritance in java using classes and if we want to perform
multiple inheritance in java program so that we have to go
for inferface scenario.In java, there is only way to
implement mutiple inheritance in java.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Core Java Interview Questions

Are true and false keywords?

0 Answers  


What is the symbol for average?

0 Answers  


explain the difference between jdk and jvm?

0 Answers  


How to create com object in Java?

0 Answers  


why java does not contain pointers?

13 Answers   Infosys, TCS,


how to print a numbers from 1 to 100 with out using control structures?

4 Answers   IBM,


can two class in a code be public??if yes then how??

2 Answers  


What is the string function?

0 Answers  


Lowest Common ancestor in a Binary Search Tree and Binary Tree.

0 Answers   Amazon,


Which Component subclass is used for drawing and painting?

1 Answers  


What are the access modifiers available in java?

0 Answers  


Real Time sample code for Encapsulation and Abstraction. where to use abstract and where to use specifies like public private.

2 Answers  


Categories