Discussion
A method defines the form or protocol of the operation, but not its implementation.
Answer: B
Correct answer: False
The terms are the other way round. An operation specifies the form or protocol - the name, the parameters and the result - while a method is the body that implements it. The distinction is what makes polymorphism expressible: one operation may have several methods, one in each class.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development