Explore Courses Blog Tutorials Interview Questions
0 votes
in Java by (6.5k points)
Aren't they the same thing?

1 Answer

0 votes
by (11.3k points)

Object-oriented Programming Languages and Object-Based Programming languages are almost similar. There differ on certain aspects though:

  • Object-Based Languages don't follow all the properties of Object-Oriented Programming languages like inheritance and polymorphism. 
  • Object-Oriented Languages do not have pre-built objects while Object-Based Languages do. For instance, JS has a window object already built into it.  

Examples of OOPLs are JAVA, C# and examples of OBPLs are JavaScript, VBScript.

If you're looking to learn java, you can look up a good java course. A proper structured training plan really makes you grasp the fundamentals of a language. 

Browse Categories