Tag Archives: application

You are asked to develop a program for a shopping application, and you are given the following information:

You are asked to develop a program for a shopping application, and you are given the following information:The application must contain the classes Toy, EduToy, and ConsToy. The Toy class is the superclassof the other two classes.The int calculatePrice (Toy t) method calculates the price of a toy.The void printToy (Toy t) method prints the details of a… Read More »

A company has an existing sales application using a Java 8 jar file containing packages: com.company.customer;

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) A. Option A B. Option D C. Option C D. Option B Correct Answer: C

You are asked to develop a program for a shopping application, and you are given this information: *

You are asked to develop a program for a shopping application, and you are given this information:* The application must contain the classes Toy, EduToy, and ConsToy. The Toy class is the superclass of the other two classes.* The int calculatePrice (Toy t) method calculates the price of a toy.* The void printToy (Toy t) method prints the… Read More »

You have been tasked to create a table for a banking application. One of the columns must meet three

You have been tasked to create a table for a banking application.One of the columns must meet three requirements:1. Be stored in a format supporting date arithmetic without using conversion functions2. Store a loan period of up to 10 years3. Be used for calculating interest for the number of days the loan remains unpaid Which data type should… Read More »

You have been tasked to create a table for a banking application. One of the columns must meet three

You have been tasked to create a table for a banking application.One of the columns must meet three requirements:1. Be stored in a format supporting date arithmetic without usingconversion functions2. Store a loan period of up to 10 years3. Be used for calculating interest for the number of days the loanremains unpaidWhich data type should you use? A.… Read More »

A company has an existing sales application using a Java 8 jar file containing packages: com.company.customer;

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) A. Option B B. Option A C. Option D D. Option C Correct Answer: D

A company has an existing sales application using a Java 8 jar file containing packages: com.company.customer;

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) A. Option D B. Option B C. Option C D. Option A Correct Answer: C

Given an application with a main module that has this module-info.java file: (Exhibit) Which two are

Given an application with a main module that has this module-info.java file:Which two are true? (Choose two.) A. An implementation of country.countryDetails can be added to the main module. B. To compile without an error, the application must have at least one module in the module source path that provides an implementation of country.CountryDetails. C. To run without… Read More »

A company has an existing sales application using a Java 8 jar file containing packages: com.company.customer;

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) A. Option B B. Option C C. Option D D. Option A Correct Answer: B