
Java Fundamentals-3
Authored by SOBHANBABU SOBHANBABU
Computers
Professional Development
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the output of the following String Function:
String s="Gudlavalleru Engineering College";
System.out.println(s.substring(6,15));
lavalleru Eng
alleru E
valleru Eng
alleru En
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following String classes are not Thread safe
String
StringBuffer
StringBuilder
StringReader
3.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the string class(es) is/are Mutable
String
StringBuilder
StringBuffer
StringWriter
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of the following statement:
System.out.println(45+21/3/3+"hai"+1+2+3);
47hai6
7hai123
47hai123
Compile time Error
7hai6
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Predict the output of the following code:
String s="CSE,IT,ECE";
System.out.println(s.lastIndexOf('E'));
2
7
9
3
6.
MULTIPLE SELECT QUESTION
1 min • 1 pt
String reverse() function is available with the following classes:
StringBuilder
StringBuffer
String
StringReader
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of the following Statement:
String s1="GECIT";
String s2="GECCSE";
System.out.println(s2.compareTo(s1));
-6
6
We can't predict (some -ve value)
7
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Telco Practice Test 1
Quiz
•
Professional Development
10 questions
04 JavaScript Einführung
Quiz
•
Professional Development
15 questions
Technical Training
Quiz
•
Professional Development
12 questions
DECI - Week 9 - round
Quiz
•
Professional Development
11 questions
Typing words on keyboard (colours)
Quiz
•
KG - Professional Dev...
12 questions
Deci- Session 1- Time Machine
Quiz
•
Professional Development
11 questions
ChatGPT Quiz
Quiz
•
Professional Development
10 questions
Roblox
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...