CPSC Exam 2 Questions & Answers 2024/2025
CPSC Exam 2 Questions & Answers 2024/2025 In Java there are ____ number types. - ANSWERS8 A numeric computation _____ if the result falls outside the range for the number type. - ANSWERSoverflow Which of the following are acceptable number literals in Java. - ANSWERS10,000 100_000 10 1/2 100000L all Correct : b,d A/m ______ occurs when an exact representation of a floating point number is not possible. - ANSWERSrounding error To signify that a variable is a constant use ______. - ANSWERSfinal To indicate that a constant variable belongs to a class use _____. - ANSWERSstatic For constant variables use ______. - ANSWERSall upper case
Written for
- Institution
- CPSC E
- Course
- CPSC E
Document information
- Uploaded on
- April 3, 2024
- Number of pages
- 17
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
cpsc e
Also available in package deal