You are on page 1of 1

T3CCA6 – JAVA PROGRAMMING

NOVEMBER – 2020

Time : 3 hours Maximum : 75 marks

SECTION A
Answer any TEN questions (10 X 2 = 20)

1. Define the keywords: This and Super.


2. Define Bytecode.
3. What is a white space?
4. What is an inner class?
5. Write the difference between throw and throws?
6. Write a note on the use of Super Keyword.
7. Brief on color method using Hue.
8. Brief on JIT.
9. Differentiate Method Overloading and Method Overriding with example.
10. Give the use of Datagram.
11. Write down the constants and their description of Scroll Panes.
12. Write the general form that can change the title in a frame window.
13. List the constructor that are used in JTree.
14. Give the purpose of is Alive() method.
15. How polling is avoided in Java?

SECTION B
Answer any FIVE questions (5 X 5 = 25)

16. Point out the differences between Java and C++.


17. Discuss the scope and lifetime of Variables.
18. Write a program to accept five integers from user and find out the smallest number.
19. What is Applet? Explain its lifecycle in detail.
20. Create user defined exception which is raised when number of command line arguments
less than 3
21. Comment on the Java garbage collection mechanism.
22. Discuss TCP/IP server sockets and its significance.
23. Define super and final keywords.

SECTION C
Answer any THREE questions (3 X 10 = 30)

24. Elaborate on the striking features of Java.


25. With a program to Implement runnable thread.
26. Discuss Package with a sample program.
27. Define polymorphism with its need. Define and explain static and dynamic binding using
program
28. Discuss in detail the working with Graphics in AWT.

********

You might also like