The document contains questions about Java concepts that test knowledge in different areas. It asks the reader to answer one 1-mark question, two 2-mark questions, and one 6-mark question. The 1-mark questions cover byte code, JVM, JIT, conditional statements, looping statements, break, continue, type conversion vs casting, auto-boxing and unboxing, and packages. The 2-mark questions cover for-each loops, platform independence, security, while vs do-while loops, command line arguments, wrapper classes, pass by value vs reference, this vs super keywords, and up-casting and down-casting. The 6-mark question can be answered by describing constructors, polymorphism
The document contains questions about Java concepts that test knowledge in different areas. It asks the reader to answer one 1-mark question, two 2-mark questions, and one 6-mark question. The 1-mark questions cover byte code, JVM, JIT, conditional statements, looping statements, break, continue, type conversion vs casting, auto-boxing and unboxing, and packages. The 2-mark questions cover for-each loops, platform independence, security, while vs do-while loops, command line arguments, wrapper classes, pass by value vs reference, this vs super keywords, and up-casting and down-casting. The 6-mark question can be answered by describing constructors, polymorphism
The document contains questions about Java concepts that test knowledge in different areas. It asks the reader to answer one 1-mark question, two 2-mark questions, and one 6-mark question. The 1-mark questions cover byte code, JVM, JIT, conditional statements, looping statements, break, continue, type conversion vs casting, auto-boxing and unboxing, and packages. The 2-mark questions cover for-each loops, platform independence, security, while vs do-while loops, command line arguments, wrapper classes, pass by value vs reference, this vs super keywords, and up-casting and down-casting. The 6-mark question can be answered by describing constructors, polymorphism
a. What is byte code? b. What is JVM? c. What is JIT? d. What is conditional statement? Write all conditional statement names in java. e. What is looping statement? Write all looping statement names in java. f. What is break statement? g. What is continue statement? h. What is the difference between type conversion and type casting? i. What is auto-boxing and Un-boxing? j. What is package?
2. Answer any two questions [2-marks]
a. What is For-Each loop? Describe with suitable example. b. How JAVA is platform independent? c. How JAVA is a secured language? d. What is the difference between while loop and do-while loop? e. What is command line argument? Describe with suitable example. f. What is wrapper class? Write all wrapper class names. g. What is pass by value and pass by reference? h. What is the difference between this keyword and super keyword? i. What is Up-Casting and Down-Casting? j. What is the difference between Aggregation and Inheritance?
3. Answer any one [6-marks]
a. What is constructor? Describe different types of constructors. b. What is polymorphism? Describe different types of polymorphisms. c. Describe architecture and features of JAVA. d. Write steps to create custom package/user defined packages. e. Describe how JAVA implement multiple inheritance.