Object oriented concepts questions.
Find Object oriented concepts university examination questions in acaproso.com
# | Question |
---|---|
1 | State whether each of the following statements is true or false
Short answers |
2 | What is the output of the following code assume grade is neither A nor B nor C Short answers |
3 | Design a Java class named UniversityCircle with two methods that compute and display an area and circumference of a circle. Practical |
4 | With examples describe the following terms
Short answers |
5 | Differentiate the following terms
Short answers |
6 | Very briefly explain the following
Short answers |
7 | Consider a class Person that consists of instance variables- name, age and gender. Instance methods - setName, getName and getAge. Class method- getAverageAge.
Short answers |
8 |
Short answers |
9 | Describe the messages and methods in OOP. Short answers |
10 | Consider the following scenarios the outline the objects ( at most three) and their interactions in terms of messages ( at least two) and arguments
Differentiate the sequence and collaboration diagram. Draw the sequence and collaboration diagrams that represents the scenario above. Short answers |