The document contains a comprehensive list of important questions related to Java programming, categorized into two mark and five mark questions. Topics covered include object-oriented programming concepts, Java syntax, exception handling, multithreading, and GUI components. It serves as a study guide for students preparing for exams or assessments in Java programming.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
28 views2 pages
Adver
The document contains a comprehensive list of important questions related to Java programming, categorized into two mark and five mark questions. Topics covered include object-oriented programming concepts, Java syntax, exception handling, multithreading, and GUI components. It serves as a study guide for students preparing for exams or assessments in Java programming.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
Java Important Questions
Two mark Questions
1. Java is called platform independent programming language. Justify.
2. Define Object Oriented Programming language. 3. Define Class. Write its syntax. 4. Define Object. How to create object of the class. 5. What do you mean by Command Line Argument? 6. Define Java tokens and write types of tokens. 7. What is array? How to declare arrays in Java? 8. Define finalization method. 9. Define constructor. What are the types of constructor? 10. What is the purpose of using “super” and “this” keywords? 11. What is polymorphism and what are the types of polymorphism? 12. List different data types in Java. 13. Define instance of operator? 14. What is an event? State any four event classes. What are the types of events. 15. What is Package? Give Example. 16. Define abstract class. 17. In what way switch statement differs from if statement? 18. Define swings? 19. What is Thread Synchronization? 20. What is Multithreading? 21. What is the difference between exception and error in Java? 22. Define inheritance and list types of inheritance. 23. Define interface. 24. What are the scope of variables. 25. Define Thread. 26. Define GUI. 27. Define foreground event and background event. 28. Define static class, static variable and static block. 29. List any 4 exceptions used in Java. 30. What is the difference between throw and throws keywords? 31. Define layout manager. 32. Define Event handling. 33. Define Java Beans. 34. Briefly explain UTIL package
Five marks questions
1. Explain decision making statements in JAVA with example.
2. Explain iteration statements in JAVA with example. 3. Explain how to create and implement class and object in Java with suitable example. 4. Explain different operators in Java. 5. Command line arguments with example. 6. What is method overloading? Explain with an example. 7. What is method overriding? Explain with an example. 8. Explain different visibility modifiers. 9. Explain multi-level inheritance in Java with example. 10. Define Character class and explain various methos of Character class. 11. Define String class and explain various methos of String class. 12. Define String Buffer class and explain various methos of String Buffer class. 13. Define File class and explain various methos of File class. 14. Define Object class and explain various methos of Object class. 15. Define Thread and explain various methos of Thread class. 16. Explain Different Event classes and its methods. 17. Describe about Source, Event and Listeners in event handling. 18. Explain any 5 AWT control (or) GUI components. 19. What are interfaces. Illustrate how interfaces can be used for implementing multiple inheritance. 20. What are generics? Explain generic programming with example. 21. Explain swing components and containers. 22. Explain flow layout with example. 23. Explain grid layout with example. 24. Explain border layout with example. 25. What is Multithreading? Explain the ways to create multiple threads in JAVA? 26. Explain Thread life cycle. 27. Explain Applet life cycle. 28. What is an exception? Explain exception handling mechanisms of Java. 29. . Write Java code to handle your own Exception. 30. What is package? How user defined packages are created and accessed explain with program. 31. Explain various mouse handling events with a program. 32. Explain various key handling events with a program. 33. Define Java collections. And explain any four commonly used collection classes in Java. 34. Explain Object oriented programming concepts. 35. Explain features of JAVA.