Questions « Modifiers « SCJP

3.15.1.Is it legal: default String s;
3.15.2.Answer: default accessor
3.15.3.Is it legal: transient int i = 1;
3.15.4.Answer: transient type
3.15.5.Is it legal: public final static native int w();
3.15.6.Answer: final static type
3.15.7.Is it legal: abstract double d;
3.15.8.Answer: abstract type
3.15.9.Is it legal: abstract final double aMethod();

3.15.10.Answer: abstract final method
3.15.11.An abstract class may not have any final methods (True/False)
3.15.12.Answer: abstract class and final method
3.15.13.A final class may not have any abstract methods (True/False)
3.15.14.Answer: final class and abstract method
3.15.15.What is the output(static field and method)?
3.15.16.Answer: static field and method
3.15.17.What is the output(static vs class instance)?
3.15.18.Answer: static vs class instance