Question Detail

Which method of the Applet class displays the result of applet code on screen

  • run() method
  • paint() method
  • drawString() method
  • main() method
Similar Questions :

1. All methods of interface are public and abstract

  • True
  • False

2. Inheritance means

  • Sub class extends super class
  • Sub class extends Base class
  • Sub class create object of super class
  • All of the above

3. x=x+1 is equivalent to

  • ++x
  • x++
  • x=x-1
  • None of these

4. Which command disassembles a class file

  • javaamd
  • javacmd
  • java
  • javap

5. Which among following classes is not part of Java's collection framework

  • Queue
  • Array
  • Stack
  • Maps
Read more from - Java Objective Questions Answers -Chapter 1