CodeGym /Courses /Java Multithreading /Practice using inner classes

Practice using inner classes

Java Multithreading
Level 3 , Lesson 4
Available

"Hi, Amigo! Ready to get started?"

"Yeah, give me your inner class tasks already, Diego:"

13
Task
Java Multithreading, level 3, lesson 4
Locked
Inner 3
Inside the Solution class: 1) use Task and MockDB to implement the private class TaskDataProvider, whose purpose is to update the tasks field. 2) use String and MockDB to implement the private class NameDataProvider, whose purpose is to update the names field.
13
Task
Java Multithreading, level 3, lesson 4
Locked
Inner
Implement the getTwoSolutions method, which should return an array of 2 instances of the Solution class. For each instance of the Solution class, initialize the innerClasses field with two values. All data must be initialized only in the getTwoSolutions method.
7
Task
Java Multithreading, level 3, lesson 4
Locked
Inner 2
The SuperUser class's getDescription method must take into account the city and country, i.e. return something like this: My name is George. I'm from Seattle in the United States. Use the inner class's capabilities.
Comments (5)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
Untitled by Anon Level 49, Germany
3 June 2023
Missed the end period in the last task a couple of times and failed a couple of times. Details!
TheLordJackMC Level 39, Princeton, idk somewhere
3 August 2021
they forgot to blue out amigo's text!
Henrique Level 41, São Paulo, Brazil
24 July 2020
I have no idea what the first task is asking us to do, and what is the connection between Ellie's lesson and the task. To pass it, I had to copy/past what our colegues did in the help section, and still I don't see the point. Normally, I think that I am the problem, but since a lot of people are complaining too, maybe the tasks on this quest should indeed be better written, with clearer conditions and requirements, and, of course, it would be awesome if some things were taught to us before we are asked to resolve them on the tasks (especially the "easy" and "medium" ones).
Fadi Alsaidi Level 34, Carrollton, TX, USA
29 November 2020
Yeah I am with you on this one. Some task are extremely hard to understand. The first one seemed to be more about Java Generics than Inner classes.
Justin Johnson Level 31, Clearwater, United States
29 March 2020
for Inner 2...Make sure your String looks like ("My name is %s. I'm from %s in %s.", this.name,city,country) the requirements make it look like it should say "in the" instead of "in"