Do As Directed : 1) null is a keyword in java. (T/F) (With reason) 2) It is not mandatory that a class must be abstract when a method is declared as abstract in java.(T/F] (With reason) 3) String is primitive data type. (T/ F) 4) If exception occurs in try block then finally block will be executed.(T/F) (With reason) 5) _____ has static constants and abstract methods. 6) What is the use of this keyword? 7) What is a command line argument?
[7 marks]List and explain Java Buzzwords in detail.
[7 marks]Differentiate between constructor and method of class. Define method overloading and its purpose. Write a program to demonstrate the constructor overloading.
[7 marks]Explain :this, super, static, final ,finally, static and garbage collection
[7 marks]Explain hierarchical inheritance with example.
[7 marks]Differentiate: Abstract class vs Interface.
[7 marks]What is package? How to create and import packages in java? Explain it with suitable example.
[7 marks]Define interface. How does it overcome the problem of java’s multiple inheritance?
[7 marks]Why we need synchronization in thread? Explain with example.
[7 marks]What is thread? Explain thread life cycle in detail with diagram.
[7 marks]Explain Character Stream and Byte Stream. Also write program to copy content of one file to another file with using command line arguments.
[7 marks]What is exception? Explain exception handling mechanism with try, catch and finally blocks. Give Suitable example of custom exception.
[7 marks]How can we access the private data members in another class? Explain with demo example.
[7 marks]Explain Generics in java with demo program.
[7 marks]What is Varargs? How to overload varargs methods? Explain with demo example.
[7 marks]Write a program to illustrate the use of command line arguments. Also implement necessary exception handling.
[7 marks]Explain InputStream class, OutputStream class, Reader class and Writer class with suitable java code.
[7 marks]