- 4

Access Modifiers

You're a tour manager and you need to have a list of countries along with its capitals. You're given a program which creates Country object and you should output the name and the capital, but something goes wrong. Task Change the access modifiers of the Country class fields in order to perform the required output.

26th Apr 2022, 11:34 PM
MICHAEL AFRIYIE
MICHAEL AFRIYIE - avatar
2 Answers
+ 4
show us your code👇👇👇
27th Apr 2022, 1:26 AM
NonStop CODING
NonStop CODING - avatar
0
Access modifier
2nd Apr 2024, 6:37 AM
Kumar