"ใครต้องการงานในชั้นเรียนนิรนาม"
"จะเป็นใครได้นอกจากฉัน เอามันมาให้ฉันแล้ว ฉันอยากจะเขียนโปรแกรมเล็กๆ น้อยๆ:"
26
งาน
Java Multithreading, ระดับ, บทเรียน
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
งาน
Java Multithreading, ระดับ, บทเรียน
Strain your brain!
The printName method must display its own name field, i.e. "sout"
Make the fewest changes possible.
7
งาน
Java Multithreading, ระดับ, บทเรียน
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.