"Hello, Amigo!"

undefined
12
Task
Java Core, level 9, lesson 3
Locked
TableAdapter
Edit the TableAdapter class so that it adapts the ATable interface to the BTable interface. The getHeaderText method should return "[] : ". For example, "[Amigo] : DashboardTable".
undefined
12
Task
Java Core, level 9, lesson 3
Locked
Adapter
Use the AdapterFileOutputStream class to adapt FileOutputStream to the new AmigoStringWriter interface.
undefined
20
Task
Java Core, level 9, lesson 3
Locked
Adapting multiple interfaces
Adapt IncomeData to the Customer and Contact interfaces. The adapter class is IncomeDataAdapter. Initialize countries before running the program. Mapping between country codes and country names: UA Ukraine US United States FR France If necessary, pad phone numbers with zeros to get 10 digits long (s
undefined
20
Task
Java Core, level 9, lesson 3
Locked
Yet another adapter
Adapt Scanner to the PersonScanner interface. The adapter class is PersonScannerAdapter. Create a private final Scanner field called fileScanner in the adapter class. Initialize the field in a constructor with one Scanner parameter. The file stores data in the following format: John Michael Peterson
undefined
20
Task
Java Core, level 9, lesson 3
Locked
Reinforce the adapter
Adapt Customer and Contact to RowItem. The adapter class is DataAdapter. Initialize countries before running the program. Mapping between country codes and country names: UA Ukraine US United States FR France
Comments (17)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
Jurij Thmsn Level 27, Flensburg, Germany
17 April 2021
I still have to look up SimpleDateFormat every time I use it even though I used it multiple times. I somehow can't get comfortable with it. I feel like I can write the Adapter pattern now, as long as someone tells me for which to which interfaces. I couldn't figure out by myself ...
Oregano Level 24, Warsaw, Poland
19 May 2020
I got really frustrated with validation for these tasks. When the task didn't walidate there was some kind of information what was wrong but the actual error was sth completely different...
Fadi Alsaidi Level 28, Carrollton, TX, USA
4 April 2020
Task one tip: there is a space between the two string parts [<username>] space ":" space <table name>
MaGaby2280 Level 41, Guatemala City, Guatemala
5 March 2020
Great tasks for the brain!
Facundo Villarroel Level 20, Berlin, Germany
24 February 2020
So funny to see that less than 300 people has completed each of this tasks
Tian Pro Level 23, Cape Town, South Africa
17 February 2020
this is truly getting harder and harder, struggling to keep up but meh :D
Almaz Temirkanov Level 24, Bishkek, Kyrgyzstan
30 September 2019
#4

Date date = new SimpleDateFormat("MM dd yyyy", Locale.ENGLISH).parse(parts[3]+" "+ parts[4]+" "+parts[5]);
            return new Person(parts[1], parts[2], parts[0], date);
JeRiF94 Level 22, Baku, Azerbaijan
25 July 2019
DONE!
Tangerin Level 27, Chongqing, China
21 July 2019
I'm the 135th person reaches here, keep on!
Ewerton Level 30, Belo Horizonte, Brasil
4 July 2019
Cool trick to learn