problem 1) What is scope and lifetime of a variable? Describe.
problem 2) prepare a JAVA Program to determine the smallest number among two using ternary operator.
problem 3) What is Constructor overloading? Give suitable ex.
problem 4) What is Synchronization? Describe how JAVA achieves it?
problem 5) Describe the applet life cycle.
problem 6) prepare a short note on Action event class.
problem 7) List and describe the features of JAVA.
problem 8) Describe method overloading and method overriding with suitable exs.
problem 9) prepare 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.
problem 10) Describe the five keywords used in JAVA’s exception handling mechanism.
problem 11) prepare a JAVA Program to create Employee database and prepare pay-roll using JDBC.