Team2/Renaming Java Elements

From CDOT Wiki
Jump to: navigation, search

Guide Line

  • With the created class we have named "Lab1", we can rename it by right clicking the class, scroll down to "Refractor" then click on rename
  • From there, under the "New Name" text box, enter "LabExercise1" and click "Next". When next is clicked, it is checking for references in other classes of this class "Lab1" being in it as well as a self-referential check to ensure the syntax of the public class is also the new name