Home / MCQ Bank / Computer
Computer Interfaces And Abstract Classes

What is the length of the application box made in the following Java program? import java.awt.*; import java.applet.*; public class myapplet extends Applet { Graphic g; g.drawString("A Simple Applet",20,20); }

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • Compilation Error

Related Computer Questions

Which of the following adds checkmark icon inside input? Which of these class must be used to send a datagram packets over a connection? Which of the following is not the keyword of form method attribute? What will be the output of the following Python list comprehension? [j for i in range(2,8) for j in range(i*2, 50, i)] What is the method used to convert a string to an integer in Ruby?