Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Job interview exercises with java 8 applying Api Stream, Java Collection Framework, Lambdas Expression, others.

NotificationsYou must be signed in to change notification settings

andresWeitzel/Job_interview_exercises_Java_8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Job interview exercises with java 8 applying Api Stream, Java Collection Framework, Lambdas Expression, others.


Index 📜

See

Java Collection Framework




Project execution🔝

See



String Methods

Using ArrayList Method🔝


Write a Java program to create a list of arrays, add some values (of type strings) and print the collection.

See solution

Code

importjava.util.*;publicclassRandom {publicstaticvoidmain(String[]args) {List<String>list =newArrayList<String>();list.add("First string");list.add("Second string");list.add("Third string");System.out.println(list);}}

Console

[Firststring,Secondstring,Thirdstring]


About

Job interview exercises with java 8 applying Api Stream, Java Collection Framework, Lambdas Expression, others.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp