Answers for "java 8 printstacktrace in system.out"

0

java 8 printstacktrace in system.out

public static void main(String[] args){
    try {
        test();
    } catch (UnsupportedOperationException e) {
        System.out.println(e);
        e.printStackTrace();
    }
}

private static void test() {
    throw new UnsupportedOperationException("Not yet implemented");
}
Posted by: Guest on April-10-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language