41. | What happens to the static fields of a class during serialization? |
|
42. | Does Java provide any construct to find out the size of an object? |
|
43. | What are wrapper classes? |
|
44. | Why do we need wrapper classes? |
|
45. | What are checked exceptions? |
|
46. | What are runtime exceptions? |
|
47. | What is the difference between error and an exception? |
|
48. | How to create custom exceptions? |
|
49. | If I want an object of my class to be thrown as an exception object, what should I do? |
|
50. | If my class already extends from some other class what should I do if I want an instance of my class to be thrown as an exception object? |
|