Answer the following questions. 1. What is Bytecode? 2. Why Java is called portable? 3. What is static import in Java? 4. List out all Java data types. 5. What is Literals in Java? 6. What is automatic type conversion? 7. How to declare two dimensional array variable in Java?
[7 marks]Discuss all selection statements of Java in detail.
[7 marks]Explain different Arithmetic Operators of Java? Also discuss the operator precedence.
[7 marks]Write a Java program that takes the integer number from command line argument and give the output whether given number is prime or composite.
[7 marks]What is method overloading? Explain with example.
[7 marks]What is constructor? Explain the importance of constructor in Java.
[7 marks]How to define Package? What is the use CLASSPATH environmental variable?
[7 marks]Explain the concept of Inner Classes in Java.
[7 marks]Discuss abstract class in detail. Also discuss the use of ‘final’ keyword in Java.
[7 marks]What is an Exception? Give the difference between Checked and Unchecked exceptions using example.
[7 marks]Explain all important methods of String class? How the String Buffer is different than String class.
[7 marks]Explain any seven methods of the List interface.
[7 marks]What is an Interface? How to define Interface? Explain with example.
[7 marks]Give the constructors of Hashtable. Explain working of Hashtable using example.
[7 marks]How can you create the thread? Explain the important methods of thread class in detail.
[7 marks]What is Byte Streams? Write a program for reading any file using FileInputStream.
[7 marks]Discuss how to override methods in a Generic Class with example.
[7 marks]