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: Which class is used to perform file input and output operations in Java?
asked
May 7
in
JAVA
by
SakshiSharma
operations
java
0
votes
Q: Which class is used to format date and time values in Java?
asked
May 7
in
JAVA
by
SakshiSharma
values
java
0
votes
Q: Which class is used to represent date and time values in Java?
asked
May 7
in
JAVA
by
SakshiSharma
values
java
0
votes
Q: Which method is used to convert a stream of objects into a map in Java?
asked
May 7
in
JAVA
by
SakshiSharma
objects
map
java
0
votes
Q: Which method is used to convert a stream of objects into a set in Java?
asked
May 7
in
JAVA
by
SakshiSharma
objects
set
java
0
votes
Q: Which method is used to convert a stream of objects into a list in Java?
asked
May 7
in
JAVA
by
SakshiSharma
objects
listjava
0
votes
Q: Which method is used to convert a stream of objects into an array in Java?
asked
May 7
in
JAVA
by
SakshiSharma
objects
array
java
0
votes
Q: Which method is used to perform a reduction operation on the elements of a stream in Java?
asked
May 7
in
JAVA
by
SakshiSharma
elements
stream
java
0
votes
Q: Which method is used to concatenate the elements of a stream into a single string in Java?
asked
May 5
in
JAVA
by
sharadyadav1986
single
string
java
0
votes
Q: Which method is used to transform elements in a stream in Java?
asked
May 5
in
JAVA
by
sharadyadav1986
stream
java
0
votes
Q: Which method is used to filter elements in a stream based on a given predicate in Java?
asked
May 5
in
JAVA
by
sharadyadav1986
predicate
java
0
votes
Q: Which method is used to create a stream from a collection in Java?
asked
May 5
in
JAVA
by
sharadyadav1986
collection
java
0
votes
Q: Which method is used to create a stream from an array in Java?
asked
May 5
in
JAVA
by
sharadyadav1986
createstream
0
votes
Q: Which interface is used to represent a function that does not return a result in Java?
asked
May 5
in
JAVA
by
sharadyadav1986
result
java
0
votes
Q: Which interface is used to represent a unary operator (a function that takes one argument and returns a result of the same type) in Java?
asked
May 5
in
JAVA
by
sharadyadav1986
unary
operator
0
votes
Q: Which interface is used to represent a binary operator (a function that takes two arguments and returns a result of the same type) in Java?
asked
May 5
in
JAVA
by
sharadyadav1986
arguments
java
0
votes
Q: Which interface is used to represent a function that takes two arguments and returns a result in Java?
asked
May 5
in
JAVA
by
sharadyadav1986
arguments
returns
0
votes
Q: Which interface is used to represent a predicate (a function that returns a boolean value) in Java?
asked
May 5
in
JAVA
by
sharadyadav1986
boolean
value
0
votes
Q: Which interface is used to represent a supplier of results in Java?
asked
May 5
in
JAVA
by
sharadyadav1986
supplier
results
java
0
votes
Q: Which of the following is NOT a method of the Function interface in Java?
asked
May 5
in
JAVA
by
sharadyadav1986
function
interface
java
0
votes
Q: Which interface is used to define functional interfaces in Java?
asked
May 5
in
JAVA
by
sharadyadav1986
functional
interfaces
java
0
votes
Q: Which of the following is NOT a type of method reference in Java?
asked
May 5
in
JAVA
by
sharadyadav1986
method
reference
java
0
votes
Q: Which of the following is a keyword used to define a lambda expression in Java?
asked
May 5
in
JAVA
by
sharadyadav1986
lambda
expression
java
0
votes
Q: Which method is used to remove an element from an ArrayList in Java?
asked
May 4
in
JAVA
by
rahuljain1
arraylist
java
0
votes
Q: Which method is used to add an element to the end of an ArrayList in Java?
asked
May 4
in
JAVA
by
rahuljain1
arraylist
java
0
votes
Q: Which of the following is a data structure in Java that stores elements in a linked list?
asked
May 4
in
JAVA
by
rahuljain1
stores
elements
linked-list
0
votes
Q: Which of the following is a data structure in Java that stores elements in a resizable array?
asked
May 4
in
JAVA
by
rahuljain1
resizable
array
0
votes
Q: Which of the following is a data structure in Java that stores elements in a fixed-size array?
asked
May 4
in
JAVA
by
rahuljain1
fixed-size
array
0
votes
Q: Which of the following is used to skip an iteration in a loop in Java?
asked
May 4
in
JAVA
by
rahuljain1
iteration-loop
java
0
votes
Q: Which of the following is used to exit a loop in Java?
asked
May 4
in
JAVA
by
rahuljain1
exit-loop
java
Page:
« prev
1
2
3
4
5
6
7
...
61
next »
...