Question
Question 23 In Java, every program statement ends with a what ? Question 23 options: { } ; ( Question 24 Which of the
Question 23
In Java, every program statement ends with a what ?
Question 23 options:
{ | |
} | |
; | |
\ | |
( |
Question 24
Which of the following is a 16 bit data type?
Question 24 options:
char | |
bit | |
double | |
int | |
byte |
Question 25
What is the output by the code below?
System.out.println("\"9");
Question 25 options:
9 | |
"9 | |
\"9 | |
\ | |
99 |
Question 26
Which of the following lines correctly defines an integer variable?
Question 26 options:
int i = 234 | |
i = 234; | |
integer = 234; | |
int i = 234; | |
integer i = 23; |
Question 27
Which of the following is a valid identifier in Java?
Question 27 options:
123java | |
main | |
java1234 | |
{abce | |
)whoot |
Question 28
What is the ASCII value of 'b'?
Question 28 options:
43 | |
98 | |
48 | |
66 | |
97 |
Question 29
Which of the following lines correctly defines a double variable?
Question 29 options:
double d = 234.1; | |
d = 234.1 | |
double = 234.1 | |
double d = 234.1 | |
double = 89.3; |
Question 30
What is the output by the code below? char c = 65; System.out.println(c);
Question 30 options:
65 | |
A | |
0 | |
a | |
c |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started