Uploaded by tatenda.gotora88

OOP IN JAVA ASSIGNMENT 1

advertisement
OOP IN JAVA ASSIGNMENT 1 DUE DATE: 13-09-2017
1).
2).
3).
4).
5).
6).
[30 Marks]
Outline the concept of Garbage Collection in Java with aid of an example.
Distinguish Encapsulation and Abstraction with the aid of examples.
Distinguish class variable and instance variable.
Explain the concept of ambiguity in Java and illustrate with examples.
Distinguish between ArrayList and LinkedList with the aid of examples.
Write a program which allows storing of the following in ascending order using keyvalue pairs (University name and its student capacity).
[4]
[6]
[4]
[4]
[4]
[8]
Download