Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What things are required for a class that implements Serializable?

class implements serializable
0
Posted

What things are required for a class that implements Serializable?

0

Location: http://www.jguru.com/faq/view.jsp?EID=31434 Created: Apr 3, 2000 Modified: 2000-04-03 22:48:00.577 Author: Tim Rohaly (http://www.jguru.com/guru/viewbio.jsp?EID=10) A class that implements Serializable must also: • Have access to a no-argument constructor in its first non-serializable superclass • Identify non-serializable data members using the transient keyword or explicitly mark data members as serializable using the serialPersistentFields member.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123