What is the size of char data type in java

JAVA QUIZ-I

Quiz
•
Computers
•
University
•
Medium
Mahaboob Shaik
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
16 bytes
8 bits
16 bits
1 byte
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Standard code used to represent character in java
ASCII
IEEE
Unicode
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
byte b=123;
b+=5
What is the value of b
128
error
-127
-128
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is true
bytecode is platform independent
JDK is platform independent
javac is platform independed
JRE is platform independent
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which are the following is not a feature of java
Dynamic Linking
Dynamic Typing
Object Oriented
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int a=0;
if(a)
System.out.println("Yes");
else
System.out.println("No");
What is the output of the above code
Yes
No
Error
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following for loop declaration is not valid?
for ( int i = 99; i >= 0; i / 9 )
for ( int i = 7; i <= 77; i += 7 )
for ( int i = 20; i >= 2; - -i )
for ( int i = 2; i <= 20; i = 2* i )
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Programming Quiz

Quiz
•
University
10 questions
Basics Of C Programming

Quiz
•
University
15 questions
Java

Quiz
•
University
15 questions
CODE ZENITH

Quiz
•
University
10 questions
BCSC0006 - Quiz 1 - Arrays

Quiz
•
University
10 questions
Java Static

Quiz
•
University
10 questions
Inheritance

Quiz
•
University
20 questions
Java, part I

Quiz
•
11th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade