CodeGym /Courses /Java Multithreading /Practice using anonymous classes

Practice using anonymous classes

Java Multithreading
Level 3 , Lesson 8
Available

"Who wants tasks on anonymous classes?"

"Who could it be but me? Give them to me already. I want to do a little programming:"

26
Task
Java Multithreading, level 3, lesson 8
Locked
Sometimes anonymity is so nice!
1. In the vo package, create public User, Location, Server, Subject, and Subscription classes, which inherit NamedItem. 2. In the Solution class, for each class, create a method that returns a list of instances of the class.
7
Task
Java Multithreading, level 3, lesson 8
Locked
Strain your brain!
The printName method must display its own name field, i.e. "sout" Make the fewest changes possible.
7
Task
Java Multithreading, level 3, lesson 8
Locked
Repeating threads
Make it so that only methods of the Solution class are called in the someActions method. Expected output in the main method: Amigo: Mmmmm, beef; Amigo: knock knock; Amigo: Zzzzzzz...1 s.
Comments (2)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
25 July 2021
Soooooo Hard Lv.20+
MaGaby2280 Level 41, Guatemala City, Guatemala
15 July 2020
Would love to have more material on anonymous classes!