Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Ask a Question
What new features does Java 8 have?
Home
JAVA
What new features does Java 8 have?
asked
Mar 1
in
JAVA
by
sharadyadav1986
Q:
What new features does Java 8 have?
java8
1
Answer
0
votes
answered
Mar 1
by
sharadyadav1986
The following is a list of the additional features that are included in Java 8:
References to Methods
Lambda Expressions
Default methods
Optional Class
Functional Interface
JavaScript Engine Nashorn
Stream API
Date API
Related questions
0
votes
Q: Which of the following is correct about Java 8 lambda expression?
asked
May 22, 2022
in
JAVA
by
AdilsonLima
java8
0
votes
Q: What does Java 8's Nashorn mean?
asked
Feb 27
in
JAVA
by
Robindeniel
java8
0
votes
Q: If you wanted to process a stream of names, extract the male names, and store them in a new list, what is the appropriate operation to be used?
asked
Jun 30, 2022
in
JAVA
by
sharadyadav1986
java8
java
0
votes
Q: What does the peek() method do? When should you use it?
asked
Apr 15, 2021
in
JAVA
by
SakshiSharma
#peek-method
java8
java-stream
Java-questions-answers
0
votes
Q: What are the standard techniques?
asked
Mar 1
in
JAVA
by
sharadyadav1986
standard
techniques
java8
0
votes
Q: Identify the intermediate and terminal operations in the code.
asked
Jun 30, 2022
in
JAVA
by
sharadyadav1986
java8
0
votes
Q: LocalDate date1 = LocalDate.now();
asked
Jun 30, 2022
in
JAVA
by
sharadyadav1986
data
java8
0
votes
Q: The terminal operation produces another stream as its output.
asked
Jun 30, 2022
in
JAVA
by
sharadyadav1986
terminal-operation
java
java8
0
votes
Q: Repeating annotations can be added with which of the following declarations?.
asked
Jun 30, 2022
in
JAVA
by
sharadyadav1986
java8
java
0
votes
Q: Which of the following functional interfaces represents an operation that accepts an object-valued and an int-valued argument, and returns no result?
asked
May 22, 2022
in
JAVA
by
AdilsonLima
java8
0
votes
Q: Lambda expressions are based on __________
asked
May 22, 2022
in
JAVA
by
AdilsonLima
java8
0
votes
Q: Which of the following is a valid use of lambda expressions?
asked
May 22, 2022
in
JAVA
by
AdilsonLima
java8
0
votes
Q: Parameter types can be inferred in Lambda expressions.
asked
May 22, 2022
in
JAVA
by
AdilsonLima
java8
0
votes
Q: The following lambda expression is valid. (x, y) -> return x + y
asked
May 22, 2022
in
JAVA
by
AdilsonLima
java8
0
votes
Q: The following are valid lambda expressions, except _________.
asked
May 22, 2022
in
JAVA
by
AdilsonLima
java8
0
votes
Q: Object o = () -> {System.out.println(“Example”); }; Object o can be replaced with?
asked
May 22, 2022
in
JAVA
by
AdilsonLima
java8
0
votes
Q: Can you convert an array to Stream and how?
asked
Apr 15, 2021
in
JAVA
by
SakshiSharma
java8
java-stream
Java-questions-answers
0
votes
Q: What is a Predicate interface?
asked
Apr 15, 2021
in
JAVA
by
SakshiSharma
#predicate-interface
java8
Java-questions-answers
+2
votes
Q: Which method is used to connect the consumer to the source in reactive programming?
asked
Feb 8, 2020
in
JAVA
by
rahuljain1
reactive-programming
java8
0
votes
Q: java 8 features
asked
Sep 3, 2019
in
JAVA
by
Robin
#java
Java-questions-answers
...