What is private static final long serialVersionUID = 1L;

Answers were Sorted based on User's Feedback



What is private static final long serialVersionUID = 1L;..

Answer / eknath wagadre

serialVersionUID is final static and private variable and
the value of the variable will be genreted by the jvm and
it's used for serialization and deserialization of object.

Is This Answer Correct ?    20 Yes 1 No

What is private static final long serialVersionUID = 1L;..

Answer / vigneshwaran

the declared variable is non-inheritable and unchangeable its value.

Is This Answer Correct ?    1 Yes 1 No

What is private static final long serialVersionUID = 1L;..

Answer / b

It is a constant variable that is long and declared one
time.

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More Advanced Java Interview Questions

What is difference between object state and behavior?

1 Answers  


Define aop(assepct oriented programing)?

1 Answers  


the use of try and ffinally keyword

1 Answers  


Thread life cycle?

3 Answers   TCS,


1) which method of the RequestDispatcher cannot be called once the output is sent to the client? a. forward b. include c. both a&b 2) which interface should an object implement to get notified of changes to the list of active sessions in a web application? a. HttpSessionListener b. HttpSessionActivationListener c. HttpSessionAttributeLIstener 3) A user can select multiple locations from a list box on an HTML form, which of the following methods can be used to retrieve all the selected location? a. getParameter() b. getParameterValues() c. getParamValues() 4) which of the following methods should be used to send character text to the client? a. ServletResponse.getWriter() b. ServletResponse.getOutputStream() c. ServletResponse.getOut() 5) which implicit object is always available in a JSP page? a. exception b. session c. out 6) which inclusion mechanism doesn't include the source of the page, rather the output of the page. a. include directive b. jsp:include action c. Bothe a& b 7) which attribute of the page controls whether a page participates in session or not? a. session-allowed b. session c. isSession

1 Answers  


does j2ee means advanced java

10 Answers  


what is Bootstrap loader program?

1 Answers   Rossell Techsys,


difference between apllet and interface class

1 Answers   Infotech,


what is DGC?

1 Answers  


What is ioc concept & explain it?

1 Answers  


What is the main functionality of RRL(Remote Reference Layer)?

3 Answers  


Is 'synchronised' a modifier?

2 Answers   NIIT,


Categories