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
2
Answer:
true
true
false
true
Explanation:
here is your answer
Answered by
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
English,
3 months ago
Computer Science,
3 months ago
English,
3 months ago
Social Sciences,
7 months ago
English,
11 months ago
Biology,
11 months ago
Math,
11 months ago