что не так в строке 15?
public class Solution {
public static void main(String[] args) throws InterruptedException {
Thread thread = new Thread(new SpecialThread());
thread.start();
System.out.println("*****************");
for (StackTraceElement element : Thread.currentThread().getStackTrace()) {
System.out.println(element);
}
}
public static class SpecialThread implements Runnable {
public void run() {
StackTraceElement elemen =Thread.currentThread().getStackTrace();
System.out.println(element);
}
}
}