Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andresweitzel/job_interview_exercises_java_8
Job interview exercises with java 8 applying Api Stream, Java Collection Framework, Lambdas Expression, others.
https://github.com/andresweitzel/job_interview_exercises_java_8
api-streams java-collections-framework java8 lamba-expression
Last synced: about 2 months ago
JSON representation
Job interview exercises with java 8 applying Api Stream, Java Collection Framework, Lambdas Expression, others.
- Host: GitHub
- URL: https://github.com/andresweitzel/job_interview_exercises_java_8
- Owner: andresWeitzel
- Created: 2023-12-24T20:26:36.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-04T22:52:41.000Z (about 1 year ago)
- Last Synced: 2024-11-22T09:05:29.917Z (about 2 months ago)
- Topics: api-streams, java-collections-framework, java8, lamba-expression
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Job_interview_exercises_Java_8
Job interview exercises with java 8 applying Api Stream, Java Collection Framework, Lambdas Expression, others.
## Index 📜
See
### Java Collection Framework
* [Using ArrayList Method.](#using-arraylist-method-)
## Project execution [🔝](#index-)
See
## String Methods
### Using ArrayList Method [🔝](#index-)
#### Write a Java program to create a list of arrays, add some values (of type strings) and print the collection.
See solution
* [ArrayList Exercises](https://www.w3resource.com/java-exercises/collection/index.php)#### Code
```java
import java.util.*;
public class Random {
public static void main(String[] args) {
List list = new ArrayList();
list.add("First string");
list.add("Second string");
list.add("Third string");
System.out.println(list);
}
}
```#### Console
```java
[First string, Second string, Third string]```