exam questions

Exam 1z0-811 All Questions

View all questions & answers for the 1z0-811 exam

Exam 1z0-811 topic 1 question 14 discussion

Actual exam question from Oracle's 1z0-811
Question #: 14
Topic #: 1
[All 1z0-811 Questions]

Which two statements are true about the Java Runtime Environment (JRE)?

  • A. It is responsible for garbage collection.
  • B. It interprets bytecode stored in a .class file.
  • C. It contains the JDK and Java APIs.
  • D. It is platform independent.
  • E. You must install the JRE to compile a .java file.
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
electri
4 weeks ago
Selected Answer: AB
The JRE means Java Runtime Environment and as the name says prived the environment to run java applications. Therefore it implements the java vm for your specific platform, which may make java platform independent, but not your specific JRE. You cannot install the mac os JRE on a Windows machine or vice versa. Also It includes a lot of libraries and the java vm runner which is responsible for garbage collection. So in perspective of the possible answers, A and B are the only possible answer.
upvoted 1 times
...
ketty04
6 months ago
Selected Answer: BD
JRE interprets bytecode, soyou can run any .class file, also it is platform independent, you can install it on windows, mac, linux, etc
upvoted 3 times
...
___Anu___
1 year ago
Selected Answer: AB
Java is platform independent, JVM/JRE is not! A and B are correct.
upvoted 2 times
...
supercoder
1 year, 2 months ago
Selected Answer: BD
JDK > JRE > JVM JVM is the instance created when user installs JRE in system. Its used to run files with .class JDK is used to run files with .java with java compiler.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago