Computer Science, asked by kavibuddy, 7 months ago

Which of the following statement(s) is/are NOT true?

The default package in the Java language is java.lang.

b. String is a final class and it is present in java.lang package.

c. Runnable is a class present in java.lang package.

d. Thread is a class present in java.lang package.

Answers

Answered by pavitraasharma
2

Answer:

true

true

false

true

Explanation:

here is your answer

Answered by anjalin
0

(C) "Runnable" is a class that is there in java.lang package.

Explanation

  • The default package in the Java language is java.lang.

This statement is true.

  • The string is a final class and it is there in java.lang package. Hence, True.

This statement is true.

  • Java runnable is used to execute programs on the concurrent threads.

This statement is false as runnable is not a class in Java.

  • Thread is a class present in java.lang package.

This statement is true.

Hence statement (C)  is false.

Similar questions