aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Applets, I/O Streams and Oracle Database
  • In applet class, which of the following methods returns t...
Multiple choice

In applet class, which of the following methods returns the URL of the HTML document that invokes the applet?

  1. getCodeBase()

  2. destroy()

  3. getDocumentBase()

  4. none of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This method in applet class returns the URL of the HTML document that invokes the applet.

Keep practicing — related questions

  • Which of the following methods of Applet class is used to return a string that describes the applet?
  • Which of the following methods in applet programming brings the document at the URL specified by url into v...
  • Which of the following attributes of an applet specifies the base URL of the applet code that is the direct...
  • Which of the following methods is/are used by web browser to control the applet?
  • Which of the following methods is/are used by a web browser to control the applet?
  • Which of the following methods in Applet programming is used to extract the name part of an item from the c...
  • Which of the following methods is/are used by web browser to control the applet?
  • Which of the following attributes is required that gives the name of the file containing the applets compil...
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Core Classes and Threads (1473 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy