CodeGym /Java Course /Java Multithreading /Practice using static nested classes Practice using static nested classes Java Multithreading Level 3 , Lesson 6 Available "Hi, Amigo!" "Yeah, tasks, I know, I know. By the way, Diego, you make great tasks." "Thanks for finally noticing. Here are some more:" undefined 7 Task Java Multithreading, level 3, lesson 6 Locked How do I choose the right one? In the main method, assign an instance of the TEST class to the Object obj variable. Don't change anything except the main method. undefined 7 Task Java Multithreading, level 3, lesson 6 Locked Refactoring, nested classes Refactor the Solution class: put all the constants in the nested public Constants class. Prevent the Constants class from being inherited. Comments (7) TO VIEW ALL COMMENTS OR TO MAKE A COMMENT, GO TO FULL VERSION Baurzhan Konurbayev Level 40 2 April 2021 Thanks, Diego! That was easy. Shilpa nori Level 34, Rochester, United States 6 March 2021 This easy tasks are very confusing 🤨🙂 Fadi Alsaidi Level 34, Carrollton, TX, USA 29 November 2020 this is a codegym article about refactoring https://codegym.cc/groups/posts/196-how-refactoring-works-in-java JianQiu Hwang Level 35, Washington 12 June 2020 The "Introduce Constant"(Ctrl+Alt+C) is helpful for "Refactoring, nested classes"
GO TO FULL VERSION