Question Detail Package of drawstring() method is java.appletjava.iojavax.swingjava.awt Answer: Option D Ad Similar Questions : 1. Can we declare abstract static method YesNo Answer: Option B 2. Which method of java is invoked by JVM to reclaim the inaccessible memory location reclaim() methodfinal() methodfinalize() methodboth b and c Answer: Option C 3. Which of the following statements about arrays is syntactically wrong arrayName[] p = new arrayName[5];arrayName p[5];arrayName[] p [];arrayName p[][] = new arrayName[2][]; Answer: Option B 4. Inheritance means Sub class extends super classSub class extends Base classSub class create object of super classAll of the above Answer: Option A 5. The class java.sql.Timestamp is associated with java.util.Timejava.sql.Timejava.util.DateNone of above Answer: Option C Read more from - Java Objective Questions Answers -Chapter 1