CSE 110 FINAL (JAVA) questions with correct answers
Which of the following are Java primitive data types? a. String b. float c. Random d. boolean e. char f. int g. Array h. math i. double j. class k. none of these CORRECT ANSWER b, d, e, f, i Which of the following Java literals have the data type int? a. 123 b. 3f c. 3.14 d. -3 e. 'a' f. "3.0" g. 'n' h. 3.14f i. true j. false
Written for
- Institution
-
Arizona State University
- Course
-
CSE 110
Document information
- Uploaded on
- March 4, 2023
- Number of pages
- 14
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
- i which of
-
which of the following are java primitive data types a string b float c random d boolean e char f int g array h math i double j class k none of these correct answer b
-
d
-
e
-
f
Also available in package deal