Object serialisation simply means saving an object's members to a file, to be reloaded at a later time. The object itself should handle its own serialisation, given an archive object. The archive object determines if the object is to insert its members to the file or to extract them from the file. Objects that support serialisation must be capable of instantiating themselves through serialisation, usually by passing an archive object to the object's constructor.
Objects that contain other objects as members do not need to know how to serialise those objects, since every object should take care of its own serialisation. The containing object simply calls each object's serialise method, passing it the archive object. The only real requirement is that all members must be serialised in the same sequence, whether saving or loading, as all data is saved sequentially.
An object in C++ is an instance of a C++ class.
depends what you use it for. c++ = object oriented c = not object oriented
No; C++ is not 100% object oriented.
An object is simply an instance of a class.
Primary purpose of java serialization is to write an object into a stream, so that it can be transported through a network and that object can be rebuilt again. When there are two different parties involved, you need a protocol to rebuild the exact same object again. Java serialization API just provides you that. Other ways you can leverage the feature of serialization is, you can use it to perform a deep copy. Why I used 'primary purpose' in the above definition is, sometimes people use java serialization as a replacement for database. Just a placeholder where you can persist an object across sessions. This is not the primary purpose of java serialization. Sometimes, people say that java serialization is used for storing (to preserve the state) an object and retrieving it. They use it synonymously with database. This is a wrong perception for serialization.
C++ is object-oriented. It is not object-based because, like C before it, C++ supports the principal of primitive data types, which are not object-based.
C++ is an object oriented programming language
c is procedure oriented and c++ is object oriented & much newer.
Sure.
This is called serialization.
JavaScript Object Notation
Address of the current object.