STSravya Talabathulainsrisravya.hashnode.dev·Apr 11, 2025 · 3 min readUnderstanding Polymorphism in Java: A Beginner's GuidePolymorphism means many forms. Having one entity with multiple forms is called as polymorphism. There are two types of polymorphism. 1. Run time polymorphism. 2. Compile time polymorphism. 1. Run Time Polymorphism : Call to overrided method is resolv...00
STSravya Talabathulainsrisravya.hashnode.dev·Feb 13, 2025 · 3 min readA Beginner's Guide to Encapsulation in JavaEncapsulation is a fundamental principle of object-oriented programming that hides data and methods within a class. It's also known as data hiding. Programs are encapsulated by declaring variables as private and access to variables is provided throug...00
STSravya Talabathulainsrisravya.hashnode.dev·Nov 28, 2024 · 4 min readJava Inheritance Explained: A Beginner's Guide to OOP ConceptsWhat is OOPs? OOP stands for object oriented programming it is a programming paradigm based on the concept of objects. In this anything is treated as an object. Java is one of the programing language which uses object oriented programming. Why we use...00
STSravya Talabathulainsrisravya.hashnode.dev·Nov 15, 2024 · 2 min readConstructor in JavaWhat is Constructor ? Constructor is a type of method which gets executed when an object is created. Constructor name must be similar to class name. There are two types of constructors. 1. Constructor with out arguments (Default constructor). 2. Cons...00