Do as Directed. (1) _______method is used to convert String to Integer. (2) _______class is the super class for every class. (3) _______method is called by the garbage collector just before deallocation of an instance. (4) The________method sets the background color of an applet. (5) Justify, we can create our own subclass of java.lang.Math class. (6) Justify, ‘final’ can be used to prevent method from being overloaded. (7) Justify, main () method is required to be written in applet.
[7 marks]Define Following terms (1) Shadowing Variable (2) Interface. (3) Instance of (4) Transient (5) enum data type (6) Initializer block (7) getInstance() method
[7 marks]What is package? Explain “java.util” package with example.
[7 marks]Differentiate between following (1) method overloading and method overriding (2) this and super keyword (3) comparable and comparator Interface
[3 marks]Differentiate between following (4) throw and throws (5) widening conversion and narrowing conversion (6) heavyweight component and lightweight component
[3 marks]What is Wrapper class? Explain any one Wrapper class in java.
[7 marks]Explain abstract, final and static keyword with example.
[7 marks]What is String Buffer? Explain different between String Buffer and String Builder with example
[7 marks]Explain role of Pattern and Matcher class for handling regular Expression.
[7 marks]What is Thread? How thread is created in java? Explain with example.
[7 marks]Explain FileOutputStream and FileInputStream.How to read and write data with file. Explain with example. OR1
[7 marks]What is Exception? Explain exception handling by creating custom exception class.
[7 marks]What is enumeration interface? Explain set interface of collection framework.
[7 marks]Explain lifecycle of an applet. Explain various method of the lifecycle of applet.
[7 marks]Explain event delegation model with example.
[7 marks]Explain the importance of Graphics, Color and Font class of java.awt package with its method.
[7 marks]What is Layout? List different Layouts and explain Border Layout with example.
[7 marks]