IT234 Object Oriented Programming With Java

Object Oriented Programming With JavaTU Board 2023

Write a program to create a class named "person" with number field "age". Throw an exception if the user enters negative number for the age.

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

Discussion

Loading…

More Object Oriented Programming With Java questions

All Object Oriented Programming With Java old questions