You are on page 1of 1

1.

Write a simple java program that prints to the screen Hello World
2. Briefly explain what java comment mean
3. List and explain the major type(s) of java comment(s)
4. Mention 5 uses of Java
5. Explain briefly java operator
6. Mention and explain three (3) java logical operators with example for each and the result
output of the examples given
7. What do you understand by the Java arrays
8. Write java array code that has car as its variable and Volvo, BMW, Ford and Mazda
stored in variable car
9. Explain in detail Polymorphism in terms of OOP concept in Java
10. List six (6) application of OOPs concepts in Java
11. Elucidate five (5) advantage or benefit of OOPs concepts in Java
12. Mention the major way(s) in which encapsulation can be achieved or implemented in
java
13. Outline four (4) advantage of encapsulation in Java
14. Which of the following classes are tightly encapsulated?

15. Show the IS-A relationship between the classes below


a. University as the super class, Computing_Faculty as the child class of University,
Computer_Science as the child class of Computing_Faculty and Students as the child
class of Computer_Science
b. Show the inheritance hierarchy for (a)
c. Write the Java syntax of (a)
16. List three (3) advantages of Inheritance in Java
17. Outline four (4) important rules of Java inheritance
18. Mention and explain type(s) of polymorphism in Java, give example for each
19. Briefly explain the following Java recursion and halting condition of java recursion
20. Mention the major way(s) in which encapsulation can be achieved or implemented in Java

You might also like