Why Is Java Called Object Oriented Programming Language?

11

11 Answers

prasad khadkikar Profile
Java is called Object Oriented Programming Language Because Java is a kind of programming language that uses Object in each of its programs.

In each java program you have to create classes and in the main function of java you have to create objects of the classes.

You can write a c++ program without creating a class but you have to create class and objects in java program that why java is called "purely" object oriented programming language.

All concepts like inheritance, modularity, polymorphism, and encapsulation in coop are supported by java.
Anonymous Profile
Anonymous answered
Java is not pure object oriented language because the primitive data types are not objects in Java.
vellal subhash Profile
vellal subhash answered
It follows the concepts of oops.
Krishan Kumar Profile
Krishan Kumar , Software Professional, answered

Object-oriented programming strictly separates the notion of what is to be done from how it is done. "What" is described as a set of methods, publicly available data, and their associated semantics. This combination of methods, data, and semantics is given a shape of a class that later known as a user defined type. The designer of the class makes a template out of the methods, data, and semantics and makes it available to the programmers who use it. This template defines a type such that all objects that are instances of that type are agreed to the methods, data, and semantics modelled by the template. Java follows the above mentioned phenomena for programming problems, therefore it is called object oriented programming language. Hope it answers the question.

thanked the writer.
Ray Dart
Ray Dart commented
Some of that was almost useful. Most of it completely misses the point of OO programming. (Some of it is actually wrong). Understand what "phemomena" means. (and "semantics").. Your first bad answer. I am disappointed.
Ray Dart
Ray Dart commented
But it is an old question, so perhaps does not matter that much.
Yo Kass
Yo Kass commented
An old question still getting page-views I should point out... we're not just helping the original asker here guys :)
Broad Kenny Profile
Broad Kenny answered

the concept of "pure" in object orientation is a little subjective and not quite well defined in practice, but there are pure object oriented programming languages. The principles of object orientation on the other hand are well defined. Programming languages are quite nested in complicated materials, and it is hard to say that everything must be an object, since all formal systems need primitives. How can you define an object without the notion of an object as a definition? This all comes down to type theory, and one can't define everything as "something" without knowing the "something". With this, Java is not actually a pure object oriented programming language since it needs primitives. The only way you can yield a pure programming language with no primitives is not even having the notion of defining concrete terms in a programming language since it doesn't have primitives in it.

Smalltalk is an example of a pure programming language. With this, I can't exactly answer the question since you've presented two OO programming languages, neither of which is "pure".

thanked the writer.
Ray Dart
Ray Dart commented
It's actually called "object oriented" rather than "object only". The existence of primitives is irrelevant.
Anjali Kumari Profile
Anjali Kumari answered

java is object oriented programming  language but not pure object oriented because  supports Primitive datatype such as int, byte, long... Etc, to be used these are not object.

Main features are:

  • Inheritance
  • Encepculation
  • Polymorphism
  • Association
  • Aggregation

To gain more info visit at:

https://dfsmrecruitment.com/job-seekers/

Florio Potter Profile
Florio Potter answered

Java is a OOP language and it is not a pure Object Based Programming Language. For a programming language to be pure Object Oriented. ... Contrast with a pure OOP language like Smalltalk, where there are no primitive types, andboolean, int and methods are all objects. If you want to learn more then get help from our experts at www.codeavail.com/SubmitWork

Chips Ters Profile
Chips Ters answered

It is a fully object-oriented language that supports or has functions that treat everything inside the program as objects. It does not support a primitive data type. With Java and NodeJS a lot of network applications, sites, and so on are created.
At uni we recently studied NodeJS and compared it to Deno. These are two technologies that are so similar in their origins, but so different in their specifics. To prepare for the course, I read https://solidbrain.net/blog/deno-vs-node-js-all-you-need-to-know and wrote a dessert on the subject. My final choice was NodeJS because in my opinion it is more functional than Deno and has more understandable open source code and functions.

nettech india Profile
nettech india answered

In my way Java is not pure object oriented.
Object oriented programming language should only have objects whereas java have char,float ,int which are not objects.

Gopinath Sundaram Profile
Yes,it is a called so,because everything you use in Java should be used only in classes and their cannot be isolated functions.So,it is a pure Object Oriented Language.

Answer Question

Anonymous