Define Following terms(any seven) (1) Object (2) Byte code (3) Literals (4) Garbage Collection (5) ‘New’ keyword (6) Nested class (7) Finalize() method (8) If statement
[7 marks]Explain the difference between the variable of primitive data types and reference data type with java code.
[7 marks]What is constructor? Explain Constructor Overloading and Method Overloading with Example.
[7 marks]Differen tiate between following(any two) 1. While loop and do-While loop 2. ‘this’ keyword and ‘super’ keyword 3. Autoboxing and unboxing
[7 marks]Differentiate between following(any two) 1. String and StringBuffer 2. Throwable and Runnable 3. Implements and extends
[7 marks]Explain Polymorphism, Inheritance and Encapsulation with example.
[7 marks]What is Package? Explain “java.lang” package.
[7 marks]What is method overriding? Explain with example.
[7 marks]What is interface? Give four differences: abstract class and interface.
[7 marks]What is an Exception? How many different types of exception available in Java?
[7 marks]What is difference between Vector and ArrayList? How the Enumeration interface is useful in Java explain with code?
[7 marks]If we are declaring variable, method, class as final. What will happen?
[7 marks]What is Wrapper class? Explain Integer class with example.
[7 marks]What is Thread?Write example to create multiple thread in Java.
[7 marks]Explain Following terms with example. 1) Thread Priority 2) BufferedInputStream
[7 marks]What is Stream? Explain Character Stream classes with example.
[7 marks]Explain Following terms with example. 1) Synchronization 2) Byte Stream
[7 marks]