Question PRG-JAVA-0059
MediumWhat does the 'transient' keyword do on a field?
- A.
Makes it thread-safe
- B.
Makes it constant
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Java question
What does the 'transient' keyword do on a field?
Makes it thread-safe
Makes it constant
Sign up free to see the answer and a step-by-step explanation.
Excludes the field from Java serialisation
Makes it public