0 votes
in JAVA by
Which of the following is false?

a) The rt.jar stands for the runtime jar

b) It is an optional jar file

c) It contains all the compiled class files

d) All the classes available in rt.jar is known to the JVM

1 Answer

0 votes
by

(b) It is an optional jar file.

Reason: The rt.jar stands for the runtime jar that comprises of all the compiled core class files for the Java Runtime Environment. It generally consists of classes like java.lang.String, java.lang.Object, java.io.Exception, etc., and all packages and classes available in the rt.jar are known to the JVM. The rt.jar is the mandatory jar file for every core java application as it contains all the core classes.

Related questions

0 votes
asked Apr 9, 2021 in JAVA by Robindeniel
0 votes
asked Apr 8, 2021 in JAVA by SakshiSharma
...