Java Programming
Question Bank
How to implement thread using runnable interface with suitable example
What is collection? Explain Collection framework in details.
Write a Java program to calculate area of cone, sphere and circle
(Use Method over loading)
Write a JDBC program to insert a record in student table
(rollno, name, course, percentage) and display all records of student table.
Write a ‘java’ program to copy only non-numeric data from one file to another file.
Write a java servlet program to accept name from user & display on browser
Explain Implicit objects in JSP
What is datatype? Explain types of datatypes used in Java.
Explain Interface ?
Explain Inter-Thread communication with suitable example.
What is the use of static keyword ? Explain static variable,method ,block with suitable example .
Write a java program to read n Empoyee names from user, store them into the Array List collection. The program should not allow duplicate names. Display the names in Ascending order.
Explain Access Specifier in java with the help of suitable example.
Write a package StrPack which has two classes Concat and Compare. Concat class has a method to concatenate two strings and Compare class has a method to compare two strings. Display appropriate messages
Write a JDBC program to accept rollno from the user and delete a record from student table and display all record after deleting.
Explain Constructor in java and types of constructor.
Explain Prepared Statement in JDBC with suitable example.
Explain JSP Life Cycle.
What is thread Priority? How to set and get the thread name with suitable example
What is this keyword and this ()? Explain the use of this keyword with suitable example.
Write a Java program to calculate the area of a circle, triangle, and rectangle using method overloading
Write a a JDBC Program to delete details of students whose initial character of their name is ‘M’
Write a java program to count number of Lines, words and characters from a given file
Write a Servlet program to get information about the server such as name, port number and version of server.
Explain Servlet Life Cycle.
Explain Thread synchronization with suitable example.
Write a note on Abstract class.