Significance of "transient" keyword

Significance of "transient" keyword.

- The 'transient' keyword is used within the object's member that need not be serialized.

- If you deserialize the object, you will get the default value for transient variable.

- All the variables in the object by default converted to persistent state.

- If the variable is declared as 'transient', then it will not be persisted.
What are inner classes?
What are inner classes? - Class that is nested within a class is called as inner class. The inner class can access private members...
Types of JDBC driver
What are the types of JDBC driver? - Type 1 - JDBC - ODBC bridge...
What is a connection pooling?
What is a connection pooling? - It is the technique which allows a connection object to be shared by multiple clients, thus improve program....
Post your comment