
Java Fundamentals-3
Quiz
•
Computers
•
Professional Development
•
Hard
SOBHANBABU SOBHANBABU
Used 10+ times
FREE Resource
Enhance your content
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
14 questions
AD_Java Basics
Quiz
•
Professional Development
15 questions
Unity Scripts
Quiz
•
Professional Development
15 questions
Test de la Unidad 1 – Introducción al Desarrollo del Software y
Quiz
•
Professional Development
10 questions
Certification Course (Batch-01) | Quiz-01
Quiz
•
Professional Development
15 questions
FORMATIVE ASSESSMENT 2 OOPS
Quiz
•
Professional Development
10 questions
Java Strings
Quiz
•
1st Grade - Professio...
7 questions
HITech Quiz - Day 18
Quiz
•
Professional Development
11 questions
JavaScript
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade