Question: JAVA (101=10 marks) Encircle the correct option from the following: - Q1. Which component is used to compile, debug and execute java program? Q2. Which
(101=10 marks) Encircle the correct option from the following: - Q1. Which component is used to compile, debug and execute java program? Q2. Which one of the following is a primitive data type in Java? Q3. Which one of the following is correct output of the given code? class Output f public atatic void main(9tring argn []) \& final int a-10,b-20; a-a+b; Syatem. out. println (a+2);) Q4. Which of these methods of String class is used to obtain character at specified index? Q5. Which one of the following statements is the correct way to declare the given values? A[]]={6.5f,5.0f,8.99f}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
