Fill This Form To Receive Instant Help
Homework answers / question archive / 1
prefix is used on attribute, method, and class in order to
build a library of mathematics functions. (5 marks)
(b) Discuss two (2) similarities between an abstract method and an interface method,
and provide example of an abstract method using Java code segment. (10 marks)
2. Generics and Exceptions.
(a) make a simple Java program to demonstrate the use of a generic type in Java OOP
programming. (10 marks)
(b) Briefly discuss the use of keywords try, catch, and finally in Java exception handling.
(5 marks)