Java
T
point
Home
Python
Java
JavaScript
HTML
SQL
PHP
C#
C++
DS
Aptitude
Reasoning
Selenium
DBMS
C
Android
Interview Q
Content Menu ▼
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Question 1
:
If you delete a field from a class and recompile the class, but then load an object that was serialized before the new class was compiled what will happen?
1.
The new object will contain all the data it used to but the new field is not accessible
2.
The old class will be reloaded.
3.
The new object will contain all the data it used to including the removed field
4.
An exception will occur