In which of the following package Exception class exist?
A.java.util
B.java.file
C.java.io
D.java.lang
Answers
Answered by
2
Heyaa mate..❤❤
Your answer is D.java.lang
Please mark it as brainliest...
Your answer is D.java.lang
Please mark it as brainliest...
Anshi2005:
Welcome my friend..
Answered by
0
In java.lang package Exception class exist. Option(d) is the correct option.
- Java language package is the basic package of java that provide object classes and inst_ances necessary for designing Java programming language.
- This package is the default package of Java, so it is imported automatically.
- Exception class is a subclass of throwable class and it is used to indicate the conditions that users might want to catch.
- It is also included in java.lang package.
Similar questions