Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class SmallTest {
- public static void main(String[] args) {
- School school1 = new School("somename", "someplace");
- School school2 = new School("somename", "someplace");
- System.out.println(school1.equals(school2));
- System.out.println(school1.equals(null));
- }
- }
- Error:
- >java SmallTest.class
- Fehler: Hauptklasse SmallTest.class konnte nicht gefunden oder geladen werden
Add Comment
Please, Sign In to add comment