Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
JAVA Interview Questions and Answers
Home
Questions
JAVA
0
votes
Q: What is the difference between a parallel stream and a sequential stream?
asked
Apr 26
in
JAVA
by
SakshiSharma
sequential
stream
0
votes
Q: What is the purpose of the reduce() method in a stream pipeline?
asked
Apr 26
in
JAVA
by
SakshiSharma
reduce
method
0
votes
Q: What is the syntax for a method reference in Java 8?
asked
Apr 26
in
JAVA
by
SakshiSharma
method
reference
0
votes
Q: What is the purpose of the peek() method in a stream pipeline?
asked
Apr 26
in
JAVA
by
SakshiSharma
peek
method
0
votes
Q: Which of the following is not a valid collector in Java 8?
asked
Apr 26
in
JAVA
by
SakshiSharma
valid
collector
0
votes
Q: What is the purpose of the Optional class in Java 8?
asked
Apr 26
in
JAVA
by
SakshiSharma
optional
class
0
votes
Q: Which of the following is not a valid lambda expression in Java 8?
asked
Apr 26
in
JAVA
by
SakshiSharma
lambda
expression
0
votes
Q: Which of the following is not a built-in functional interface in Java 8?
asked
Apr 26
in
JAVA
by
SakshiSharma
built-in
functional
interface
0
votes
Q: What is the difference between an intermediate operation and a terminal operation in a stream pipeline?
asked
Apr 26
in
JAVA
by
SakshiSharma
terminal
operation
0
votes
Q: What is a stream in Java 8?
asked
Apr 26
in
JAVA
by
SakshiSharma
stream
java8
0
votes
Q: What is a lambda expression in Java 8?
asked
Apr 26
in
JAVA
by
SakshiSharma
lambda
expression
java
8
0
votes
Q: Which of the following is not a functional interface in Java 8?
asked
Apr 26
in
JAVA
by
SakshiSharma
interface
java
8
0
votes
Q: What is the primary objective of the Java 8 release?
asked
Apr 26
in
JAVA
by
SakshiSharma
java
8
release
0
votes
Q: Which of the following is the correct syntax for calling a method in Java?
asked
Apr 26
in
JAVA
by
SakshiSharma
method
java
0
votes
Q: Which of the following is the correct syntax for declaring an array of integers in Java?
asked
Apr 26
in
JAVA
by
SakshiSharma
java
0
votes
Q: What is the output in java of the following code?
asked
Apr 24
in
JAVA
by
Robin
java
0
votes
Q: Which of the following is the correct syntax for a while loop in Java?
asked
Apr 24
in
JAVA
by
Robin
java
0
votes
Q: What is the output of the following code in java
asked
Apr 24
in
JAVA
by
Robin
java
code
0
votes
Q: Which of the following is a valid way to declare a multi-dimensional array in Java?
asked
Apr 24
in
JAVA
by
Robin
multi-dimensional
array
0
votes
Q: Which of the following is not a collection interface in Java?
asked
Apr 24
in
JAVA
by
Robin
collection
interface
0
votes
Q: Which of the following is used to read input from the user in Java?
asked
Apr 24
in
JAVA
by
Robin
read
input
0
votes
Q: Which of the following is a checked exception?
asked
Apr 24
in
JAVA
by
Robin
checked
exception
0
votes
Q: Which of the following is a subclass of the Exception class?
asked
Apr 24
in
JAVA
by
Robin
exception
class
0
votes
Q: What is the output of the following codejava
asked
Apr 24
in
JAVA
by
Robin
java
code
0
votes
Q: What is the output of the following code?
asked
Apr 24
in
JAVA
by
Robin
java
code
0
votes
Q: Which of the following is not a Java keyword?
asked
Apr 24
in
JAVA
by
Robin
java
keyword
0
votes
Q: What is the default value of an instance variable in Java?
asked
Apr 24
in
JAVA
by
Robin
instance
variable
java
0
votes
Q: Which of the following is not a primitive data type in Java?
asked
Apr 24
in
JAVA
by
Robin
primitive
data
type
in
java
0
votes
Q: Output of the following javascript program
asked
Feb 20
in
JAVA
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: Which of the following is true in Struts and Apache tiles integration?
asked
Nov 10, 2023
in
JAVA
by
GeorgeBell
struts2-interview-questions-answers
Page:
1
2
3
4
5
6
...
58
next »
...