"Si Bilaabo ay may mga gawaing nakahanda para sa iyo."
"Napakatalino mong estudyante, Amigo."
"Umaasa ako na ang aking mga gawain ay makakatulong sa iyo na maging simpleng walang kapantay."
7
Gawain
Java Multithreading, antas, aralin
Naka-lock
Creating your own marker interface
1. Create the SelfMarkerInterface marker interface.
2. Create a SelfMarkerInterfaceImpl class that implements SelfMarkerInterface.
3. Add any 2 public methods to SelfMarkerInterfaceImpl.
4. Create an UnsupportedMarkerInterfaceException that inherits Exception.
7
Gawain
Java Multithreading, antas, aralin
Naka-lock
Cloneable
Add Java code to make the main method run without exceptions.
7
Gawain
Java Multithreading, antas, aralin
Naka-lock
So, let's... compare
Fix the bugs: Move the clone methods to the classes where they should be implemented.
Delete any superfluous methods.
Don't delete the main method.