Search Header Logo

10211CS204 -OOPS using Java

Authored by Assoc.Prof,IT Chennai

Information Technology (IT)

Professional Development

Used 5+ times

10211CS204 -OOPS using Java
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following option leads to the portability and security of Java?

  1. Bytecode is executed by JVM

The applet makes the Java code secure and portable

  1. Use of exception handling

  1. Dynamic binding between objects

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not a Java features?

  1. Dynamic

  1. Architecture Neutral

  1. Use of pointers

  1. Object-oriented

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following for loop declaration is not valid?

  1. for ( int i = 99; i >= 0; i / 9 )

  1. for ( int i = 7; i <= 77; i += 7 )

  1. for ( int i = 20; i >= 2; - -i )

  1. for ( int i = 2; i <= 20; i = 2* i )

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which method of the Class.class is used to determine the name of a class represented by the class object as a String?

  1. getClass()

  1. intern()

  1. getName()

  1. toString()

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which package contains the Random class?

  1. java.util package

  1. java.lang package

  1. java.awt package

  1. java.io package

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which option is false about the final keyword?

  1. A final method cannot be overridden in its subclasses.

  1. A final class cannot be extended.

  1. A final class cannot extend other classes.

  1. A final method can be inherited.

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is a type of polymorphism in Java Programming?

Multiple polymorphism

Compile time polymorphism

Multilevel polymorphism

Execution time polymorphism

Access all questions and much more by creating a free account

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

Already have an account?