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

1 Expert Approved Answer
Step: 1 Unlock

a The keyword transient signifies that the fields should not be s... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Java Programming 8th Questions!