Java MCQ 17 10 23
Java MCQ 17 10 23
a. multithreaded
b. platform independent
c. dynamic
d. robust
3. JVM is platform__________.
a. dependent
b. independent
c. Both
d. none of them
Answer: a. dependent
5. Variable is a _________.
a. container
b. name given to a location inside memory area
c. value
d. none of the above
Answer: d) .java
Answer: d. JAVA_HOME
Answer: c) .class
15. Which one of the following is not an access modifier?
a. Protected
b. Void
c. Public
d. Private
Answer: b. Void
17. Which data type value is returned by all transcendental math functions?
a. int
b. float
c. double
d. long
Answer: c. double
18. Which of these coding types is used for data type characters in Java?
a. ASCII
b. ISO-LATIN-1
c. UNICODE
d. None of the mentioned
Answer: c. UNICODE
Answer: d. 0 to 65535