13
Задача
Java Multithreading, ниво, урок
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
Задача
Java Multithreading, ниво, урок
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
Задача
Java Multithreading, ниво, урок
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.