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
What are two of your strengths that you will bring to our QA/testing team?
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.
What are the tasks performed by a Team Lead
3. What is the difference between testing and Quality Assurance?
define profiler???
I want to pass .pdf files as OlE Object to crystal report through VB6. Please any one guid me...
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
what is class module in vb6? what it's use? with example..
Write a program to reverse a number?
When we use Windows authentication mode
in IT trend mantis meant what? how to know mantis in IT trends? detail description about mantis?
how do i create my own exception class which will restrict IO exception?
what is c sharp dotnet
What sysoption determines where the macro facility searches a specific catalog for complied macro?
how to stop execution of step 3 in a job mainframe