Which two Java primitive types store floating-point numbers?

a. decimal and float.
b. point and double.
c. float and double.
d. decimal and point.


c. float and double.

Computer Science & Information Technology

You might also like to view...

Answer the following statements true (T) or false (F)

1. If an array, names, consists of a list of usernames, then names[1] holds the value of the first username in the list. 2. Each element in a two-dimensional array has two subscripts. 3. To calculate the total of the values in an array, a loop is used with an accumulator variable. 4. An array, like a variable, can hold only one value.

Computer Science & Information Technology

Write a Java method that returns a String representing a file name entered by the user.

Use the BufferedReader class to obtain input.

Computer Science & Information Technology

The most popular style manual used in ________ communication is The Gregg Reference Manual

Fill in the blank(s) with correct word

Computer Science & Information Technology

Case-Based Critical Thinking Questions ? Case 5-2 Cali has just discovered the power of using text filters to control which records display in his worksheet, and he has begun to use them often to find precisely the records he needs. The following questions are based on a camp directory table that includes First Name, Last Name, Date of Birth, Camp, and Phone Number. ? ? To find anyone whose Camp is either Day Camp, or Overnight Camp, or Nature Camp, what should he do?

A. Create a text filter using the Contains operator to display all records that have Nature anywhere in the text value. B. Create a text filter using the Ends With operator to display all records that have Day as the last characters in the text value. C. Create a text filter using the Begins With operator to display all records that have Overnight as the first characters in the text value. D. Create a text filter using the Contains operator to display all records that have Camp anywhere in the text value.

Computer Science & Information Technology