Im having a bit of difficulty with these questions...any help
ASAP please
3) You see the subtraction operator (-) used in a Java program. Does the function of this
operator depend on the types of the variable on which it operates? Could the variables on
which it operates be of a user-defined type? Give an example of a(nother) language for
which the variables could be of a user-defined type.
6) Assume that you have to represent a large number of Boolean values, such as whether
or not an alarm is pressed at 1 min intervals. What type of data structure would you use?
Explain your choice.
7) Compare the computation time required for retrieving a value from a Java multidimensional
array (array of arrays) and from a Fortran-style multi-dimensional array.
Could you be able to use Fortran-style arrays in Java, without using the Fortran
language?
Bookmarks