• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
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

(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 in JAVA by Robindeniel
0 votes
asked Apr 8 in JAVA by SakshiSharma