1.Method Overriding is the example of ----------------polymorphism. 2.the keyword -----------------------is used to create class from interface. 3.String is an immutable object in java. (T/F) 4.What is the use of printStackTrace() method 5.sub class of abstracr class is called-------------------------. 6.---------------method is used to convert an ArrayList to an array. 7. what is the use of intValue() method.
[7 marks]Explain Initialize block and static initialize block with example.
[7 marks]Difference between static and instance variable with example.
[7 marks]What is Exception? explain runtime exception with example.
[7 marks]What is Polymorphism? Explain Method overloading with example..
[7 marks]Explain String, StringBuffer? Also explain its method.
[7 marks]What is an interface? How it is important in Java? Explain with example.
[7 marks]What is Package? Explain the uses of the keywords "package" and "import".
[7 marks]What is framework? Explain List and set interface with example.
[7 marks]Explain character stream classes in java.io.
[7 marks]What are Wrapper classes? Explain boxing and unboxing.
[7 marks]Explain method overriding with appropriate example.
[7 marks]Write a java program to implement multiple inheritance. Also explain the concept implemented.
[7 marks]What is Thread? Write example to create multiple thread in Java.
[7 marks]What is Generic class? How to create generic class and generic method. Page 1 of
[2 marks]Write a java program that will write 10 numbers in text file and also read from that file to print that 10 numbers on the screen using byte stream based classes.
[7 marks]What is inner class? How can outer class reference be accessed inside inner class? Write the use of inner class using suitable example. Page 2 of
[2 marks]