Abstraction in Java: Abstract Classes and Methods, Interfaces and Has-A, Is-A Relationships

So what is an abstraction in OOP programming? Let’s imagine you have a car. it has a lot of characteristics like a weight, dimensions, color, maximum speed etc. To describe a Car object you need only color and max speed for your use-case. Weight and dimensions don’t matter to you. Abstraction means showing only necessary … Read more

What Is a Java Constructor

One of the first thing that each beginner programmer should learn is a Java constructor. In this article, I’ll explain what is a constructor in Java (default and parametrized) and different methods how to create a constructor in Java with examples. I’ll show you how to overload constructors and how to access parent class constructor. … Read more

JavaScript vs Java: Let The Fight Begin!

I was really wondered when realized that “Java vs JavaScript” question is really popular! According to Google Keyword Planner Tool, it’s up to 10K searches per month. That means 10K users ask Google about the difference between Java and JavaScript. According to Ahrefs (popular site and keyword analyzing tool), it’s even 15K searches! It’s Google … Read more