Ava 8 - MCQ Set 2 (25 Questions, 55 Marks) : Q1 - Q5, 5 EASY Level Difficulty Questions 1 Mark Each. 1 5 5 Marks
Ava 8 - MCQ Set 2 (25 Questions, 55 Marks) : Q1 - Q5, 5 EASY Level Difficulty Questions 1 Mark Each. 1 5 5 Marks
a. @Function
b. @FunctionalInterface
c. @Functional
d. @Interface
a. static
b. abstract
c. final
d. none
a. Functional interface
b. Functional class
c. Functional method
d. Functional object
a. static
b. abstract
c. final
d. All
a. compilation error
b. Runtime Exception
d. None
a. Consumer
b. Producer
c. Both
d. None
a. Predicate
b. Interface
c. Class
d. Methods
8. Which of these does Stream map() operates on
a. Class
b. Interface
c. Predicate
d. Function
a. Methods
b. Consumer
c. Producer
d. Predicate
a. multi-threading
b. concurrent
c. consequent
d. stream
a. Stream stream()
b. Stream obtain()
c. Stream obtainSource()
d. All
12. What will be output of following program -
a. compilation error
b. Runtime Exception
d. None
a. compilation error
b. Runtime Exception
d. None
a. compilation error
b. Runtime Exception
d. None
b. Runtime Exception
d. None
a. Strings
b. Integers
c. Characters
d. Float
a. Lexically
b. Semantically
c. Binary
d. None
a. Local variables
b. Super classes
c. Generic types
d. All of these
a. compilation error
b. Runtime Exception
d. None
a. compilation error
b. compilation error
d. None
b.
c. compilation error
d. compilation error
a. compilation error
b. Runtime Exception
d. None
a. compilation error
b. Runtime Exception
d. None
25. What will be output of following code -
a. compilation error
b. Runtime Exception
c. Compile and execute without any Exception or error
d. None