



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Summary of Objects First with Java
Typology: Summaries
1 / 6
This page cannot be seen from the preview
Don't miss anything!




lOMoARcPSD|
October 22
Functional languages are another class of language that use a different style of programming. Streams and lambdas (also known as closures) were added with Java 8 in 2014. These new elements make Java now somewhat of a hybrid language. A collection object can store an arbitrary number of other objects. Lamdas or anonymous functions are segments of code that is passed as a parameter to a method, stored, and executed later by a method. Observe the pseudo-code below: (Sighting record) - > { System.out.println(record.getDetails()); }