CSC207H5 Lecture Notes - Lecture 4: Multiple Inheritance, Git, Workflow
Document Summary
Rename your current repo folder to something like repo_i_messed_up . Don"t delete it because it may contain uncommitted work. Git clone again to re-download a fresh copy of the repo from the server. Go into the fresh repo, see what"s the status in there, and manually apply the new changes (copy-n-paste lines of code) from files in repo_i_messed_up to the fresh repo. In eclipse, you may need to re-create the workspace and the projects. Interface in java interface is like a special kind of class . An interface is even more abstract than an abstract class. An interface is basically a group of public methods, declared but not implemented. This group of methods defines how an object interacts with the outside world. Unlike abstract class, interface cannot contain instance or static variables, except for public static final variables (constants). Unlike abstract class, interface cannot contain implemented methods, i. e. , all methods in an interface must be unimplemented.