Multiple choice

Which of the following methods is/are used by the web browser to control the applet?

class BitShift
 {
 public static
void main(String [] args)
 {
 int x = 0x80000000;
 System.out.
print(x + " and ");
 x = x >>> 31;
 System.out.
println(x);
 }
 }

  1. Wait()

  2. Destroy()

  3. Dead()

  4. Both (1) and (3)

  5. Both (1) and (2)

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This option is correct.