A double or a float variable should not be used as programming flag variables. Why is this so?

What will be an ideal response?


Typically, you want to have a program flag have a value that is checked easily, such as a bool or an int. You are not able to perform a precise check for a float or a double.

Computer Science & Information Technology

You might also like to view...

Which statement is false?

a. Interface JdbcRowSet is in the javax.rowset package. b. A CachedRowSet object is scrollable and updatable by default. c. A JdbcRowSet object is scrollable and updatable by default. d. JdbcRowSet is a connected RowSet.

Computer Science & Information Technology

Given the following declarations, what result is stored in each of the listed assignment statements?

What will be an ideal response?

Computer Science & Information Technology

The ________ of a picture is the area to be kept with the Remove Background tool

Fill in the blank(s) with correct word

Computer Science & Information Technology

Files created with Access 2016 may be used with which previous version of Access?

A. Access 2010 B. Access 2000 C. Access 2005 D. Access 2003

Computer Science & Information Technology