Java Objective Questions Answers -Chapter 1
-
1. Which class cannot be subclassed (or extended) in java?
- abstract class
- parent class
- Final class
- None of above
Answer And Explanation
Answer: Option C
Explanation:
-
3. Can we access private class outside the package
- Yes
- No
Answer And Explanation
Answer: Option B
Explanation:
-
4. Why we use array as a parameter of main method
- it is syntax
- Can store multiple values
- Both of above
- None of above
Answer And Explanation
Answer: Option B
Explanation:
-
5. Suspend thread can be revived by using
- start() method
- Suspend() method
- resume() method
- yield() method
Answer And Explanation
Answer: Option C
Explanation:
-
7. Which collection class associates values witch keys, and orders the keys according to their natural order
- java.util.HashSet
- java.util.LinkedList
- java.util.TreeMap
- java.util.SortedSet
Answer And Explanation
Answer: Option C
Explanation:
-
Aishu 6 years ago
useful one. provide more questions
-
MayanK___!! 7 years ago
good work
-
Mandeep Kamboj 8 years ago
good work by mastguru (y)
-
Sandeep Singh 9 years ago
1000000000 claps and a very very........happy wishes...........
-
Kishan 9 years ago
Have a look at this for some good questions as well:
https://questionsonjava.wordpr... -
Nilima 9 years ago
I have doubt in one question as you ahve said that JDBC-ODBC bridge is multithreaded...... But, according to me it does not support multithreading
-
Archana Choudhury 10 years ago
it is really helpful..thnk u for this
-
kuldeep kushwaha 10 years ago
does it helpful for railways examz???
-
sunil 10 years ago
Thank you for sharing useful information.
-
Apoorv 11 years ago
Thanks Admin................
-
ravi 11 years ago
great site