Java Fundamentals-3

Java Fundamentals-3

Professional Development

10 Qs

quiz-placeholder

Similar activities

FDE cycle

FDE cycle

Professional Development

11 Qs

GENERAL KNOWLEDGE

GENERAL KNOWLEDGE

Professional Development

10 Qs

Ice Breaker Challenge- Guess the Tool by Its Logo

Ice Breaker Challenge- Guess the Tool by Its Logo

Professional Development

10 Qs

Angular

Angular

Professional Development

10 Qs

about computer

about computer

1st Grade - Professional Development

10 Qs

ML in Apple platforms

ML in Apple platforms

University - Professional Development

10 Qs

General Knowledge

General Knowledge

KG - Professional Development

10 Qs

Datatypes and Flowcontrol

Datatypes and Flowcontrol

Professional Development

15 Qs

Java Fundamentals-3

Java Fundamentals-3

Assessment

Quiz

Computers

Professional Development

Hard

Created by

SOBHANBABU SOBHANBABU

Used 10+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?