Questions Related to technology

Multiple choice technology
  1. On the line After //One put Base(10);

  2. On the line After //One put super(10);

  3. On the line After //Two put super(10);

  4. On the line After //Three put super(10);

Reveal answer Fill a bubble to check yourself
C Correct answer
Multiple choice technology
  1. Update Employee set salary = salary * 1.5 and grade=’Promo’ where salary < 10000;

  2. Update Employee set salary = salary * 1.5, grade=’Promo’ where salary < 10000;

  3. Update table Employee set salary = salary * 1.5, grade=’Promo’ where salary < 10000;

  4. Update table Employee set salary = salary * 1.5 and grade=’Promo’ where salary < 10000;

Reveal answer Fill a bubble to check yourself
B Correct answer
Multiple choice technology
  1. The executeUpdate method returns all the rows that were affected

  2. The executeUpdate method returns the no. of rows that were affected

  3. Depends , as there is more than one version of this method with different return types

  4. NONE

Reveal answer Fill a bubble to check yourself
B Correct answer