#java
Read more stories on Hashnode
Articles with this tag
Encapsulation is the mechanism of binding the private variable and public method in a single unit is called as encapsulation. Encapsulation is one of...
What is multiple inheritance ? So whenever the child class inherits the properties from the multiple parent class then it is called as multiple...
Definition → Creating a new class (sub class) that acquires all the properties of another class is called is inheritance. In java we achieve concept...
Constructor chaining is a mechanism through which we can establish the connection between one constructor to another constructor. through this() and...
Constructor is a special type of method whose name is same as class name. And it is used to contract the object. Constructor does not contain any...
Type is the process of conversion of variable from one data type to another data type. We have mainly two type of type casting i.e. Implicit...