PSPraveenkumar Sinpraveenkumar08.hashnode.dev·Mar 5, 2023 · 5 min readJAVA - All about InterfacesIn JAVA, Multiple Inheritance is supported in the form of Interfaces. An interface is a type of reference that defines a set of abstract methods, which are methods without any implementation. So, Whoever the Child Class is implementing the interface ...00
PSPraveenkumar Sinpraveenkumar08.hashnode.dev·Feb 18, 2023 · 4 min readJAVA - Inheritance Beginner's GuideIntroduction In java, Inheritance is one of the most important concepts of Object-oriented programming (OOP). It allows us to inherit the properties and behaviors from another class, known as the super class or parent class. In simple terms, We can i...00
PSPraveenkumar Sinpraveenkumar08.hashnode.dev·Feb 5, 2023 · 2 min readJAVA - Usage of "this()" methodIn this blog, let's understand what is the usage of this() method in JAVA. The "this()" method refers to the current class constructor and can be used to call different constructors within the same class. Please find the example below: class Employee...00
PSPraveenkumar Sinpraveenkumar08.hashnode.dev·Jan 28, 2023 · 1 min readJAVA - "this" keywordLet's understand what is the usage of "this" keyword in JAVA. Whenever there is a naming Conflict between an instance variable and a local variable, this problem technically we call it as shadowing problem. To solve this problem we can use the "this"...00
PSPraveenkumar Sinpraveenkumar08.hashnode.dev·Jan 21, 2023 · 2 min readJAVA - ConstructorConstructor in Java : Beginner's Guide In Java, One of the important concepts is Constructor, which plays a crucial role in object-oriented programming. In this blog post, let's take look on constructor in Java, their syntax, and how they can be used...00