Added changes to remove unwanted spaces

This commit is contained in:
Amitabh.Tiwari 2020-11-06 16:02:36 +05:30
parent e13f7952b1
commit 1a0d8f4be0
1 changed files with 7 additions and 7 deletions

View File

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