Question 176

A company has an existing sales application using a Java 8 jar file containing packages:
com.company.customer;
com.company.customer.orders;
com.company.customer.info;
com.company.sales;
com.company.sales.leads;
com.company.sales.closed;
com.company.orders;
com.company.orders.pending;
com.company.orders.shipped.
To modularize this jar file into three modules, customer, sales, and orders, which module-info.java would be correct?
A)

B)

C)

D)
  • Question 177

    Which two are functional interfaces? (Choose two.)
  • Question 178

    Given:

    What is the result?
  • Question 179

    Given:

    Which three are correct? (Choose three.)
  • Question 180

    Given:

    executed using command:
    java Hello "Hello World" Hello World
    What is the output?