What is the result?

Given: What is the result?

Given: What is the result?

A.
Standard Edition Enterprise Edition Micro Edition

B.
Standard Edition class java.lang.AssertionError Micro Edition

C.
Standard Edition is printed and an Assertion Error is thrown

D.
Compilation fails



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Pavel

Pavel

it works for:
java -ea Test

for: java ea Test
Error: Could not find or load main class ea

leo yu

leo yu

-ea : enable java assert