JAVA Flashcard 2

JAVA Flashcard 2

Assessment

Flashcard

Computers

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which function is used to perform some action when the object is to be destroyed?

Back

finalize()

2.

FLASHCARD QUESTION

Front

Which of these method of String class is used to obtain character at specified index? char(), Charat(), charat(), charAt()

Back

charAt()

3.

FLASHCARD QUESTION

Front

Which one of the following is not a Java feature? Object-oriented, Use of pointers, Portable, Dynamic and Extensible

Back

Use of pointers

4.

FLASHCARD QUESTION

Front

Which of the following is not an OOPS concept in Java? Polymorphism, Compilation, Inheritance, Encapsulation

Back

Compilation

5.

FLASHCARD QUESTION

Front

Which of the following loops will execute the body of loop even when condition controlling the loop is initially false? do while, while, for, none of the above

Back

do while

6.

FLASHCARD QUESTION

Front

Which of the following is used with the switch statement? continue, exit, break, do

Back

break

7.

FLASHCARD QUESTION

Front

Which of these keywords is used to manually throw an exception? try, finally, throw, catch

Back

throw

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

Already have an account?