JavaRush /Courses /New Java Syntax /Practice with ArrayList

Practice with ArrayList

New Java Syntax
Level 13, Lesson 2
Available

"You're just sitting idle again? You're a robot! Robots do something all the time. Here are a couple of exercises to keep you from rusting. But first, a few hints:"

"Hint 1:

By 'list', we usually mean an ArrayList."

"Hint 2:

A 'string' means a String object."

"Hint 3:

'Create a list of strings' most often means the following: ArrayList<String> list = new ArrayList<String()>"

13
Task
New Java Syntax, level 13, lesson 2
Locked
5 different strings in a list
5 different strings in a list
13
Task
New Java Syntax, level 13, lesson 2
Locked
To the top of the list
To the top of the list
13
Task
New Java Syntax, level 13, lesson 2
Locked
The largest number
The largest number
13
Task
New Java Syntax, level 13, lesson 2
Locked
Expressing ourselves more concisely
Expressing ourselves more concisely
13
Task
New Java Syntax, level 13, lesson 2
Locked
Minimum or maximum
Minimum or maximum
13
Task
New Java Syntax, level 13, lesson 2
Locked
Remove and insert
Remove and insert
Comments (1)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
2 August 2023
Перша задача не приймалася, поки я не поміняла порядок виводу коду. Спочатку кількість рядків, потім вже значення масива. Дивна ситуація, як на мій погляд