1.

Which of the following forms of applying an attribute is correct?

A. < Serializable() > class sample { /* ... */ }
B. (Serializable()) class sample { /* ... */ }
C. [ Serializable() ] class sample { /* ... */ }
D. Serializablef) class sample { /* ... */ }
Answer» D. Serializablef) class sample { /* ... */ }


Discussion

No Comment Found