What is the purpose of the 'transient' keyword in Java? - Study24x7
Social learning Network
13 Mar 2024 10:19 AM study24x7 study24x7

What is the purpose of the 'transient' keyword in Java?

A

To make a variable thread-safe

B

To indicate that a variable should not be serialized 

C

To make a variable constant

D

To declare a variable as volatile

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles