Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Reg:Java is not pure OOP language  RSS feed

 
Thiagu Gopal
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am new person in javaRanch.
I am beginner in java, i know here every body experts in java, pls anybody explain " Java is not pure Object Oriented programming language"
 
Rusty Shackleford
Ranch Hand
Posts: 490
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suppose it depends on your definition of pure OOP language.

They are probably referring to primitive values. Other OOP languages(Smalltalk for one I think) do not have primitive values, only wrapper classes for them.
[ July 07, 2006: Message edited by: Rusty Shackleford ]
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16026
87
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are not the first person who asks this question. I wonder why this question keeps being asked from time to time. Is this a standard job interview question in your country?

My advice is: Forget about this question. There is no exact answer, because there is no exact definition of what is and what is not a pure object oriented programming language. Whatever the answer is, it doesn't have any practical consequences for you as a Java programmer.

If it's a job interview question, the interviewer probably asks it to find out if you understand what "object oriented" means, and what parts of the Java language are object oriented and what parts aren't.
[ July 07, 2006: Message edited by: Jesper Young ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!