About Question enthuware.ocpjp.v11.2.3395 :
Posted: Thu Jan 19, 2023 5:29 am
Hello, am not sure if I understand correctly application of @SuppressWarnings("deprecation")
if I change main method as per below, should I know apply @SuppressWarnings("deprecation") in main method to eliminate the warning?
public class TestClass {
public static void main(String[] args) {
Account c = new Account();
}
}
if I change main method as per below, should I know apply @SuppressWarnings("deprecation") in main method to eliminate the warning?
public class TestClass {
public static void main(String[] args) {
Account c = new Account();
}
}