CSC166 Object Oriented Programming

Object Oriented ProgrammingTU Board 2080

List any two operators that cannot be overloaded. Write a program to handle the possible exception in taking "age" as input. Here the exception must be thrown in the input is negative or greater…

5

List any two operators that cannot be overloaded. Write a program to handle the possible exception in taking "age" as input. Here the exception must be thrown in the input is negative or greater than 200.

A worked answer is on its wayMeanwhile, read the Object Oriented Programming notes for this topic.

Discussion

Loading…

More Object Oriented Programming questions

All Object Oriented Programming old questions