Java 8 Flashcards
a sequence of elements that supports sequential and parallel processing.
A stream
—– introduced the concept of streams, which are a way to process collections of — in a functional and declarative way.
java 8
data
—— 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
Streams
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.
readability
performance
modularity
JavaScript can be used to manipulate the —- by selecting elements and changing their properties, attributes, or content.
DOM
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.
style
getElementById method
innerHTML property
createElement