Overriding vs Overloading in Java
Overriding vs overloading is regarded as one of the famous interview questions asked from Java at numerous companies by plenty of programmers. Overriding vs Overloading: There are some…
Press Esc to close
Archive
Overriding vs overloading is regarded as one of the famous interview questions asked from Java at numerous companies by plenty of programmers. Overriding vs Overloading: There are some…
Java access modifiers determine whether a particular class can access the data members/methods or not. The access modifiers specify the scope of a class, variable or a method.…
Polymorphism is a significant feature of Object Oriented Principles. The word polymorphism came from two Greek words 'poly' and 'morphs'. Here poly means many and morphs means forms.
Hence, polymorphism represents the ability of an object to assume different forms. Consequently, it enables programmers to create/write programs that are easier to understand and reuse.
Inheritance in Java : Inheritance is a key feature of Object-Oriented Programming. It is the method of deriving a new class from an existing class. Here the main…
Aggregation in Java is one of the special case of Association. The directional association present in between the objects can also be determined. When a single object ‘has-a’…