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

What are two of your strengths that you will bring to our QA/testing team?

1627


Given a Binary Search Tree, write a program to print the kth smallest element without using any static/global variable. You can?t pass the value k to any function also.

546


What are the tasks performed by a Team Lead

2319


3. What is the difference between testing and Quality Assurance?

1473


define profiler???

1594






I want to pass .pdf files as OlE Object to crystal report through VB6. Please any one guid me...

2584


hi i m deepak my shedule for NIC pi is 17 Apr please contact me if anybody has interview on same day or give me some idea who have faced

1542


what is class module in vb6? what it's use? with example..

1935


Write a program to reverse a number?

646


When we use Windows authentication mode

1564


in IT trend mantis meant what? how to know mantis in IT trends? detail description about mantis?

1635


how do i create my own exception class which will restrict IO exception?

2287


what is c sharp dotnet

1723


What sysoption determines where the macro facility searches a specific catalog for complied macro?

1639


how to stop execution of step 3 in a job mainframe

1700