Java Fundamentals-3

Java Fundamentals-3

Professional Development

10 Qs

quiz-placeholder

Similar activities

Variable Definition

Variable Definition

Professional Development

10 Qs

Pemrograman Dasar - QUIZ

Pemrograman Dasar - QUIZ

10th Grade - Professional Development

10 Qs

JDK,JRE,JIT & JVM MCQs

JDK,JRE,JIT & JVM MCQs

Professional Development

12 Qs

Java 2021-22 Q3

Java 2021-22 Q3

Professional Development

10 Qs

PROGRAMACION.1.Conceptos Básicos

PROGRAMACION.1.Conceptos Básicos

Professional Development

15 Qs

ICT 10 M6 QUIZIZZ

ICT 10 M6 QUIZIZZ

Professional Development

10 Qs

Basics of JAVA programming

Basics of JAVA programming

Professional Development

10 Qs

Bundlers

Bundlers

Professional Development

10 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?