Java Polymorphism
| Institution | Jomo Kenyatta University of Science and Technology |
| Course | Information Technol... |
| Year | 2nd Year |
| Semester | Unknown |
| Posted By | Jeff Odhiambo |
| File Type | |
| Pages | 5 Pages |
| File Size | 210.31 KB |
| Views | 1508 |
| Downloads | 0 |
| Price: |
Buy Now
|
Description
Java polymorphism is the concept that allows objects of different classes to be treated as objects of a common superclass. It is a fundamental principle of object-oriented programming that enables one interface to be used for a general class of actions. The two types of polymorphism in Java are compile-time (or method overloading) and runtime (or method overriding). Compile-time polymorphism allows method resolution during compile time, whereas runtime polymorphism resolves method calls at runtime, enabling objects to behave differently depending on their actual class type. This flexibility makes code more reusable and easier to maintain.
Below is the document preview.
HRD 2401/ HCC 2406: ENTREPRENEURSHIP SKILLS LECTURE NOTES
Exposes the student to the nature and meaning of entrepreneurship. The course further seeks to impart the student with knowledge and skills in identifying critical factors essential for entrepreneurship and in creating, starting and managing entrepreneurship venture.
40 Pages
1390 Views
0 Downloads
212.79 KB