#java
Read more stories on Hashnode
Articles with this tag
Constructor Constructors are used to initialize the object. Constructors have the same name as the class name and do not have a return type. We can...
Introduction In an inheritance, we create the class from the existing class. The existing class knows as the parent/superclass. The class that is...
Introduction Encapsulation means wrapping code and data together into a single unit. Encapsulation is also used for data hiding. But the main purpose...
Introduction Variables are like a cup that holds something. Variables are used to store the information and hold the data in the memory. Variables...