aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Multithreading and Exception Handling
  • Which of the following packages defines a class Throwable?
Multiple choice

Which of the following packages defines a class Throwable?

  1. java.awt

  2. java.swing

  3. java.lang

  4. java.util

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

The package java.lang defines a class Throwable.

Keep practicing — related questions

  • Which of the following is the package of Exception classes in Java?
  • Which of the following will throw an error while compilation 1) import java.awt.*; package Mypackage; class...
  • Which of the following class(es) belong to java.lang package?
  • Which of the following will compile without error.
  • The class String is defined in the package ___________.
  • In which package of java scanner class exists?
  • What are the implicit packages that need not get imported into a class file?
  • The _________ package is the default package included into every Java program.
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