Added changes to remove unwanted spaces

This commit is contained in:
Amitabh.Tiwari
2020-11-06 16:02:36 +05:30
parent bef0ecee72
commit d24a59c236

View File

@@ -1,20 +1,20 @@
package com.baeldung.exceptions.nosuchfielderror;
public class FieldErrorExample {
public static void main(String... args) {
fetchAndPrint();
}
public static String getDependentMessage() {
return Dependent.message;
}
public static void fetchAndPrint() {
System.out.println(getDependentMessage());
}
}