What are syntax errors (compile errors), runtime errors, and logic errors?
[3 marks]What is Type Casting? Explain widening and narrowing type casting.
[4 marks]Explain Data Types in detail with example.
[7 marks]What is an interface? Explain with example.
[3 marks]Explain “Passing argument by values” with example.
[4 marks]Explain File class with its methods.
[7 marks]What is polymorphism? Explain dynamic binding with example.
[7 marks]Explain abstract class with example.
[3 marks]Explain Method Overloading and Overriding.
[4 marks]Write a program that counts the number of words in a text file. The file name is passed as a command line argument. The words in the file are separated by white space characters.
[7 marks]Differentiate String class and StringBuffer class.
[3 marks]Explain following keywords (1) super (2) this
[4 marks]Write a program that illustrates interface inheritance. Interface P is extended by P1 and P2. Interface P12 inherits from both P1 and P2. Each interface declares one constant and one method. class Q implements P12. Instantiate Qand invoke each of its methods. Each method displays one of the constants.
[7 marks]Explain visibility modifiers.
[3 marks]Explain following controls (1) Checkbox (2) Radio Button (3) Textfield (4) Label
[4 marks]What is an Exception? Explain try, catch and finally with example.
[7 marks]What is the keyword “throw” used for? What is the keyword “throws” used for?
[3 marks]What is constructor? Explain constructor overloading.
[4 marks]Explain different layout panes used in JavaFX.
[7 marks]Differentiate Text I/Oand Binary I/O
[3 marks]Explain Inner class with example.
[4 marks]What is thread? Describe the complete life cycle of thread. OR1
[7 marks]Compare List and Set.
[3 marks]Explain static variable and static method with example.
[4 marks]Explain Thread Synchronization with example.
[7 marks]