Dinesh HewageMethod Overriding in Java.Let’s dive into the topic with an example. Take a look at the code snippet below (Code-01). In this example, I’ve created two classes, A…1d ago1d ago
Dinesh HewageSuper(); & this(); Keywords and Object class in Java.Super and this keywords in Java..3d ago3d ago
Dinesh HewageInheritance in Java.Inheritance. Simply put, inheritance refers to using something that belongs to someone else as if it were your own. For example, you might…Aug 15Aug 15
Dinesh HewageConstructor in Java.Let’s dive into this topic with some code. In Code-01, I’ve created a class called Human with two instance variables age and name.Aug 11Aug 11
Dinesh HewageClass and Objects in Java: A Deeper Dive.If you’ve been following my Core Java for Beginners blog series, you’ll remember that I’ve already covered the basics of classes and…Aug 6Aug 6
Dinesh Hewage21. Core Java for beginners - Static methods in Java.Understanding Static Methods in Java.Aug 1Aug 1
Dinesh Hewage20. Core Java for beginners - Static Variable in Java.Static variables in Java.Jul 31Jul 31