CodeGym /Courses /Java Multithreading /Practice using marker interfaces

Practice using marker interfaces

Java Multithreading
Level 4 , Lesson 2
Available

"Bilaabo has tasks ready for you."

"You are a very talented student, Amigo."

"I hope that my tasks will help you become simply unparalleled."

7
Task
Java Multithreading, level 4, lesson 2
Locked
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
Task
Java Multithreading, level 4, lesson 2
Locked
Cloneable
Add Java code to make the main method run without exceptions.
7
Task
Java Multithreading, level 4, lesson 2
Locked
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.
Comments (7)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
Jurij Thmsn Level 29, Flensburg, Germany
21 October 2021
got it all done, but really don't know what's the lesson here?
Shilpa nori Level 34, Rochester, United States
9 March 2021
I don't understand a single task
Johannes Level 27, Centurion, Pretoria, South-Africa
4 May 2020
Well, except for the fact that these lessons and tasks made ZERO sense to me, and I won't be able to remember it at all, (as it made no sense), I at last found the "easy" mistake that kept throwing out the WRONG message in the validator.
8 April 2020
clone != c1one...
Oleh Level 32, Kyiv, Ukraine
10 April 2019
Tricky one
Satya Vath Level 31, Vijayawada, India
8 May 2019
But Easy
Ewerton Level 30, Belo Horizonte, Brasil
11 July 2019
hahaha loved that