abstract class A {} // 1 transient class B {} // 2 private class C {} // 3 static class D {} // 4 Which of these declarations will not produce a compile-time error?
Reveal answer
Fill a bubble to check yourself
abstract class A {} // 1 transient class B {} // 2 private class C {} // 3 static class D {} // 4 Which of these declarations will not produce a compile-time error?