Explain features of JAVA.
[5 marks]Write a program in JAVA to find whether the given number is prime or not.
[5 marks]Explain life cycle of applet.
[5 marks]How do applets differ from application programs?
[5 marks]Develop a JAVA applet that receives three numeric values as input from the user and then displays the smallest of the three on the screen. Write a HTML page and test the applet.
[5 marks]Discuss the different levels of access protection available in JAVA.
[5 marks]Explain overriding method in Java with example.
[5 marks]Explain finalize method with suitable example.
[5 marks]Explain String Class and StringBuffer Class with example.
[5 marks]What is inheritance in java? Explain different types of inheritance with proper example partial code.
[5 marks]Write a JAVA code that accepts a purchase list of five items from the command line and stores them in a vector.
[5 marks]What is wrapper class? Explain with example.
[5 marks]Define package. Explain steps to create a package with example.
[5 marks]Write a multithreaded program to compute and print prime numbers up to n where n is given as command line argument. Instantiate requited number of threads where each thread except the last, examines next numbers and the last thread examines remaining numbers to check whether a number is a prime or not.
[20 marks]What is “finally” block? When and how is it used? Explain with suitable example.
[5 marks]Explain thread in Java with suitable example.
[5 marks]Discuss “try”, “catch”, and “throw” with java code.
[5 marks]