Solution: Implement the serializable interface for the class, whose objects you are going to write to a file (or) stream. (Ex:) importĀ java.io.Serializable; public class <className> implements Serializable
Posts Tagged ‘Java’
Java Not Serializable Exception
Posted in Java, tagged bug fixes, Java on January 20, 2009 | Leave a Comment »
Why java is both interpreted and compiled language?
Posted in Java, tagged Java, lessons on January 17, 2009 | Leave a Comment »
Java is a compiled language because the source code is converted into byte code. This byte code is not a machine code. Java is an interpreted language because the byte code is interpreted by a virtual machine. The virtual machine allows the java code to be run on any platform. This route was chosen by [...]