Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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]

```