Question: Which statement is true? Select the one correct answer. (a) The values of transient fields will not be saved during serialization. (b) Constructors can be
Which statement is true?
Select the one correct answer.
(a) The values of transient fields will not be saved during serialization.
(b) Constructors can be declared as abstract.
(c) The initial state of an array object constructed with the statement int[] a = new int[10] will depend on whether the array variable a is a local variable or a field.
(d) A subclass of a class with an abstract method must provide an implementation for the abstract method.
(e) Only static methods can access static members.
Step by Step Solution
3.38 Rating (157 Votes )
There are 3 Steps involved in it
a The keyword transient signifies that the fields should not be s... View full answer
Get step-by-step solutions from verified subject matter experts
