All India Exams
Home AptitudeBankEngineeringEnglishGKInterviewOnline TestPlacement PapersReasoning
  • Home
  • Aptitude
  • Bank
  • Engineering
  • English
  • GK
  • Interview
  • Online Test
  • Placement Papers
  • Reasoning

Applets Questions And Answers

Here you can find Applets Questions and Answers.

Why Applets Questions and Answers Required?

In this Applets Questions and Answers section you can learn and practice Applets Questions and Answers to improve your skills in order to face technical inerview conducted by organisations. By Practicing these interview questions, you can easily crack any Exams interview.

Where can I get Applets Questions and Answers?

AllIndiaExams provides you lots Applets Questions and Answers with proper explanation. Fully solved examples with detailed answer description. All students, freshers can download Applets Questions and Answers as PDF files and eBooks.

How to solve these Applets Questions and Answers?

You no need to worry, we have given lots of Applets Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the Competitive Exams interview.

Applets Questions and Answers

1. Which of these functions is called to display the output of an applet?

Applets Questions and Answers

2. Which of these methods can be used to output a sting in an applet?

Applets Questions and Answers

3. What does AWT stands for?

Applets Questions and Answers

4. Which of these methods is a part of Abstract Window Toolkit (AWT) ?

Applets Questions and Answers

5. Which of these modifiers can be used for a variable so that it can be accessed from any thread or parts of a program?

Applets Questions and Answers

6. Which of these operators can be used to get run time information about an object?

Applets Questions and Answers

7. What is the Message is displayed in the applet made by this program? import java.awt.*; import java.applet.*; public class myapplet extends Applet { public void paint(Graphics g) { g.drawString("A Simple Applet", 20, 20); } }

Applets Questions and Answers

8. What is the length of the application box made by this program? import java.awt.*; import java.applet.*; public class myapplet extends Applet { public void paint(Graphics g) { g.drawString("A Simple Applet", 20, 20); } }

Applets Questions and Answers

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

Home EngineeringComputer Science & EngineeringJava Questions and AnswersApplets

Applets - Java Multiple Choice Questions and Answers

This is the java programming questions and answers section on "Java Applets" with explanation for various interview, competitive examination and entrance test. Solved examples with detailed answer description, explanation are given and it would be easy to understand.

Java Applets Questions

Online Test Name Java Applets
Exam Type Multiple Choice Questions
Category Computer Science Engineering Quiz
Number of Questions 09
1. Which of these functions is called to display the output of an applet?
  • A. display()
  • B. print()
  • C. displayApplet()
  • D. PrintApplet()
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option B

Explanation:

Whenever the applet requires to redraw its output, it is done by using method paint().

Workspace

Report Error


2. Which of these methods can be used to output a sting in an applet?
  • A. display()
  • B. print()
  • C. drawString()
  • D. transient()
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option C

Explanation:

drawString() method is defined in Graphics class, it is used to output a string in an applet.

Workspace

Report Error


3. What does AWT stands for?
  • A. All Window Tools
  • B. All Writing Tools
  • C. Abstract Window Toolkit
  • D. Abstract Writing Toolkit
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option C

Explanation:

AWT stands for Abstract Window Toolkit, it is used by applets to interact with the user.

Workspace

Report Error


4. Which of these methods is a part of Abstract Window Toolkit (AWT) ?
  • A. display()
  • B. print()
  • C. drawString()
  • D. transient()
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option B

Explanation:

paint() is an abstract method defined in AWT.

Workspace

Report Error


5. Which of these modifiers can be used for a variable so that it can be accessed from any thread or parts of a program?
  • A. transient
  • B. volatile
  • C. global
  • D. No modifier is needed
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option B

Explanation:

The volatile modifier tells the compiler that the variable modified by volatile can be changed unexpectedly by other part of the program. Specially used in situations involving multithreading.

Workspace

Report Error


  • «
  • 1
  • 2
  • »

Related Topics:

  • java.io Package
  • Exception Handling
  • Input Output Streams
  • Operators
  • Collections
  • Serialization
  • Strings
  • Interfaces
  • Packages
  • Threads

Mock Tests & Online Quizzes

  • Aptitude Online Test

  • Reasoning Online Test

  • GK Online Test

  • English Online Test

  • RRB Mock Test

  • RBI Mock Test

  • Free SBI Mock Test

  • IBPS Mock Test FREE

  • SSC Mock Test

  • CAT Exam Mock Test

  • GATE Mock Test

  • IT Courses Quiz

Questions and Answers

  • Aptitude Questions
  • Verbal Reasoning Questions
  • Non Verbal Reasoning
  • Logical Reasoning Questions
  • Data Sufficiency Questions
  • Data Interpretation
  • eLitmus Sample Papers
  • ECE Questions and Answers
  • EEE Questions and Answers
  • Verbal Ability Questions
  • GK Questions

Programming Quiz

  • C Programming
  • C++ Programming
  • PHP Programming
  • Java Programming
  • Python Programming
  • DataScience MCQ
  • Hadoop MCQ
  • Mongo DB MCQ
  • MySQL MCQ

Interview Questions

  • Java Interview Questions
  • .Net Interview Questions
  • Networking Interview Questions
  • C Language Interview Questions
  • C++ Interview Questions
  • Testing Interview Questions
  • Android Interview Questions
  • HR Interview Questions
  • Group Discussion Topics

Mock Tests

  • CAT Mock Test
  • SSC Mock Test
  • AMCAT Mock Online Test
  • LIC Mock Test
  • IBPS Mock Test
  • RRB Mock Test
  • RBI Mock Test
  • Free SBI Mock Test
© by AllIndiaExams.in. All Rights Reserved | Copyright | Terms of Use & Privacy Policy