Question 1) What is scope and lifetime of a variable? Describe.
Question 2) Write a JAVA Program to determine the smallest number among two using ternary operator.
Question 3) What is Constructor overloading? Give suitable example.
Question 4) What is Synchronization? Describe how JAVA achieves it?
Question 5) Describe the applet life cycle.
Question 6) Write a short note on Action event class.
Question 7) List and explain the features of JAVA.
Question 8) Describe method overloading and method overriding with suitable examples.
Question 9) Write a JAVA Program to create two threads, one to determine the factorials of numbers from 1 to 5, and the other to determine the sum of the numbers from 1 to 10 using Runnable Interface.
Question 10) Describe the five keywords used in JAVA’s exception handling mechanism.
Question 11) Write a JAVA Program to create Employee database and prepare pay-roll using JDBC.