Who invented Java?
Java, part I

Quiz
•
Computers
•
11th Grade - University
•
Medium
Satrio Rukmono
Used 389+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ryan Gosling
Bjarne Stroustrup
James Gosling
Guido van Rossum
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is String a primitive data type?
Yes
No
Both
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method to use to find length of a string?
length()
size()
long()
count()
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
String x = "10";
String y = "20";
String z = x + y;
System.out.println(z);
Guess the output.
1020
10 20
30
"10 20"
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Choose most appropriate purpose of trim() method in String?
to remove white spaces
to get a substring of the string
to cut String at desired index
to remove extra white spaces from start and end of String
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the most appropriate way to check if two Strings are identical?
string1 == string2
string1.equals(string2)
string1.same(string2)
string1.equalsIgnorecase(string2)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int[] myArray = {11, 22, 33, 44, 55};
which code is correct to print length of above int-array?
System.out.println(int[].myArray.length());
System.out.println(myArray.length);
System.out.println(myArray.length());
System.out.println(int[].myArray.size());
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Array

Quiz
•
12th Grade
15 questions
Soal Java

Quiz
•
11th Grade - University
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops

Quiz
•
9th Grade - University
23 questions
Java Array

Quiz
•
University
15 questions
Array Java

Quiz
•
University
18 questions
STATIC KEYWORD IN JAVA

Quiz
•
9th - 12th Grade
20 questions
JDVP Activity

Quiz
•
12th Grade - University
18 questions
Java thread - MCQ

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
67 questions
Course Recap Ptho May25

Quiz
•
University
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade
6 questions
Railroad Operations and Classifications Quiz

Quiz
•
University