download Mastguru Android App

Question Detail

Package of drawstring() method is

  • java.applet
  • java.io
  • javax.swing
  • java.awt
Similar Questions :

1. Can we declare abstract static method

  • Yes
  • No

2. How many keywords are available in java

  • 35
  • 55
  • 48
  • 130

3. Inheritance means

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

4. Which method can't be overidden

  • super
  • static
  • final
  • println

5. Constructor has return type

  • True
  • False
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment