Do as directed. 1. Write java code to create array with 2 cells in first row, 3 cells in second row and five cells in third row. 2. List uses of various types of comments available in Java. 3. How local class is used?
[3 marks]Do as directed. 1. Can we run java program on any platform? Explain in details. 2. How break and continue differ? Explain with example.
[3 marks]Explain Math class, List and Map interfaces in short.
[7 marks]Why do we need constructor? Explain various types of constructor with example.
[7 marks]Why do we require method overloading? Explain with example.
[7 marks]What is inheritance? Explain various types of inheritance in short.
[7 marks]What is abstract class? What care should be taken during inheritance of abstract class in to other class? Explain with example.
[7 marks]How the super keyword is used in java. Explain with example.
[7 marks]What is exception? Explain checked and unchecked exception in details.
[7 marks]What is stream? Explain various stream classes available in java.
[7 marks]Explain random access file in java with proper example.
[7 marks]What is thread? Explain various states of thread.
[7 marks]What is applet? Explain various tags of applet with example.
[7 marks]Explain the following in short: 1. MVC 2. Swing
[4 marks]Explain various methods of Graphics class with example.
[7 marks]What is adapter class? Create your own adapter class for any two listeners.
[7 marks]Write java code for GUI - Calculator with appropriate layout and +,-, * and / operations.
[7 marks]