java_Very Important Questions
java_Very Important Questions
1. Explain features of Java. OR Explain the concept of platform independence and portability
2. with respect to Java language.
3. Define type casting. Explain its types with syntax and example
4. primitive data type ,storage ,standard default value
5. Types of variables with examples Or Scope of variables with examples
6. Explain the types of constructors in Java with suitable example.
7. 6.Explain the four access specifiers in Java. (Please write table also even if it is not
mentioned in the question)
8. Define package. How to create user defined package? How to access or import it .Explain
with example.
9. Explain Garbage collection and finalized method and syntax of finalized
10. Explain dynamic method dispatch in Java with suitable example.
11. Explain Exception handling keywords try-catch-finally keywords uses and program
12. throw keyword.- User defined exception program
13. Describe the thread life cycle
14. Describe the applet life cycle
15. Explain the two ways of creating threads in Java
16. Explain the two ways of executing an Applet in Java.
17. File Class methods
18. FileInputStream Class methods
19. Command line argument
20. Inheritance and Interface
21. Applet tag attributes
Important Questions
22. Vector class methods
23. String Class methods
24. StringBuffer Class methods
25. Graphics class methods (Applet) –drawRect() …… etc ,Font Class methods
26. Difference between Array and Vector
27. Difference between String and StringBuffer
28. Difference between Applet and Application
Important Questions
29. for/ while / do-while programs
30. types of operators programs
31. Constructor program
32. Vector Program
33. Thread program
34. chapter 6 – four programs (If ByteStream or CharacterStream not mentioned so consider as
Character Stream)
35. Inheritance and Interface program
36. Applet program / param tag program
37. User defined exception program
38. Array of objects program