Archive for what is Constructor?

You are browsing the archives of what is Constructor?.

Java-Fundamental concepts through OOPS

Q) OOPS concepts Polymorphism Ability to take more than one form, In java we achieve this using Method Overloading (compile time polymorphism), Method overriding (runtime polymorphism) Inheritance Is the process by which one object acquires the properties of another object. Encapsulation Wrapping of data and function into a single unit called encapsulation. Ex:- all java […]