How to prevent a field from serialization ?
Answers were Sorted based on User's Feedback
Answer / ranganathkini
To prevent a field from being serialized, we have to mark it
with the "transient" keyword
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
by declaring the varable transient
| Is This Answer Correct ? | 9 Yes | 0 No |
diff b/w sleep(1000) and wait(1000)?
steps to connect with Oracle Databse using TYPE-2 Jdbc driver.
why java does compile time polymorphism at run time ?
can two class in a code be public??if yes then how??
how to deploy apache tomcat server to weblogic server in java
What is overloading and overriding in java?
Scenario: There are 1 to 100 numbers. Each number should be keep in the each column like from A column to Z column ie 1 to 26. From 27 to 52 should be in 2nd row in the excel sheet. This has to be continue till 100. How do you write Java program and what are various methods.
What access modifiers can be used for variables?
What is the purpose class.forname method?
What is a stringbuilder?
1).what is the difference between below examples String s="vijay"; String s=new String("vijay");
12 Answers Mascon, Satyam, TCS,
Can java hashmap have duplicate keys?