Question Detail

Package of drawstring() method is

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

1. JAR file contains the compressed version of

  • .java file
  • .class file
  • .jsp file
  • None of above

2. Which method is used to perform DML statements in

JDBC

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

3. Main method parameter has which type of data type

  • int
  • char
  • string
  • double

4. Private Constructors can't be access from any derived classes neither from another class

  • True
  • False

5. Converting a primitive type data into its corresponding wrapper class object instance is called

  • boxing
  • wrapping
  • instantiation
  • autoboxing
Read more from - Java Objective Questions Answers -Chapter 1