Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3
QUESTION BANK OF PROGRAMMING WITH JAVA
1. Explain History and Evolution of Java?
2.(what are Java Selection Statements? Give an example to each one. 3.What do you understand by the Iteration Statement? Explain with example. 4.what are Jump statements? Give an example for each of them. 5.What is Byte Code? Interpret the different states of Java Program execution? 6.What do you understand by the varargs in java? Write the syntax and develop any program. 7. What is an Array? Explain types of arrays in Java with example. 8. List the Java Tokens and discuss in detail. 9.What is an Operator? Explain type of operators in Java with example programs. 10. Explain in detail about Garbage Collector in Java 11.Define Class, Method and Object? Show the syntax to define these in Java 12.What is a Constructor? Explain types of Constructors in Java? Write a java program to find the Area of Circle using Constructor. 13.Discuss about the static, final keywords with an example. 14. What do you understand by Inheritance? Explain its types with suitable example. 15.Write a java program to implement multilevel inheritance concept. 16 Discuss about the super keyword in java with example. 17.Compare Method Overriding and Method Overloading. 18.Explain about the Dynamic Method Dispatch in Java with example program. 19. What is an abstract class? Explain all the cases to implement abstract class 20.Give the differences between Abstract class and Interface 21.Discuss in detail about Abstract Classes in Java. 22.What is an interface? List the rules to create an interface in java with example 23.what is package? Explain how to create user defined package in java with example 24.what is a Java Exception and its Types 25.Explain about try, catch, statements with examples 26.Write a java program to create own exception for Negative Value Exception if the user enter negative value. 27.Show the use of finally statements with examples 28.What is Multithreading? What are the ways to create multiple threads injava. 29.Explain about Thread Life Cycle. 30.what is synchronization? Give its types and explain. 31.Define String? Explain different String declarations with an example 32.Write the difference between String and StringBuffer classes. 33. List and explain any five string methods. 34. Explain about Delegation Event Model in Event Handling with example. 35.Write a java program to implement Mouse Events. 36.Discuss about Source, Event and Listeners in event handling 37. Write a java program to develop Login Window using AWT. 38. Demonstrate the Layout Managers in java? Explain. 39.Explain about the AWT Menu design. 40. Difference between AWT and Swings? 41. Create a java swing program implement Border Layout. 42.Write a java swing program to find the sum of two numbers. 43.Write a java swing program to find the factorial of the given number 44.Explain the following layout managers. (a) Border layout. (b) Grid layout. (c) Flow layout.