Question Info

This question is public and is used in 1 group and 16 tests or worksheets.

Type: Multiple-Choice
Category: Java and JSP
Level: Continuing Education
Score: 1
Author: BacMan
Last Modified: 3 years ago

View all questions by BacMan.

Java and JSP Question

View this question.

Add this question to a group or test by clicking the appropriate button below.

Continuing Education Java and JSP

What number is printed by this program?

public class Order {

    static { System.out.print("3"); }

    public Order() {

    static { System.out.print("4"); }

    public static void main(String args[]) {
        Order order = new Order();
  1. 32451
  2. 53241
  3. 52341
  4. 34521
  5. impossible to determine
  6. none of the above
You need to have at least 5 reputation to vote a question down. Learn How To Earn Badges.