Question Detail

Package of drawstring() method is

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

1. Methods that have same name, but different Parameter list and different definition known as

  • Overriding
  • Constructor
  • Overloading
  • none of these

2. Which method is used to perform DML statements in

JDBC

  • execute()
  • executeUpdate()
  • executeQuery()
  • None of above

3. javah stands for

  • java compiler
  • java interpreter
  • java dissasamebler
  • java header file

4. Which statement is static and synchronized in JDBC API

  • executeQuery()
  • executeUpdate()
  • getConnection()
  • prepareCall()

5. Which keyword represents object of the present class

  • interface
  • package
  • this
  • static
Read more from - Java Objective Questions Answers -Chapter 1