Java 8 Flashcards

1
Q

a sequence of elements that supports sequential and parallel processing.

A

A stream

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

—– introduced the concept of streams, which are a way to process collections of — in a functional and declarative way.

A

java 8

data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

—— can be generated from collections, arrays, or I/O operations, and they allow you to filter, map, sort, and reduce data without modifying the underlying data source

A

Streams

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Benefits of streams
Improved —–: Streams allow for more concise and expressive code, which can be easier to read and maintain.

Better —– : Streams can be processed in parallel, which can improve performance on multi-core machines.

Increased —–:
Streams can be composed of multiple intermediate operations, which can be combined to form complex data processing pipelines.

A

readability
performance
modularity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

JavaScript can be used to manipulate the —- by selecting elements and changing their properties, attributes, or content.

A

DOM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

simple dom manipulation

1)We select the element with the ID and change its style using the —- property.

2) —– is used to select a single element from the document with the specified ID

3) —– is used to get or set the HTML content of an element.

4) ——- is used to create a new element of the specified type.

A

style

getElementById method

innerHTML property

createElement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly