CSE1720_F11_Lecture09_Inheritance_III.pptx

CSE1720_F11_Lecture09_Inheritance_III.pptx - Topics CSE...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 1720 Lecture 9 Inheritance, III Topics object serialization transformation of drawing space (rotate, shear, …) 2 Transient vs Persistent Representation of Objects we already know and understand that the VM makes use of heap space, which is transient memory transient since it lasts only as long as the program executes Objects represented in heap space are transient; when the app terminates, the object’s lifecycle will come to an end what if we want our program to make use of more persistent storage? what are our options? – we must read/write to a Fle 3 Object Serialization as we know, each object has its state, that is the values of each of its non-primitive attributes (“set 1”) – the value of each of these non-primitive attributes is an object, which itself has a state (“set 2”) – the values of each of the non-primitive attributes of the aggregated objects may in turn have state (“set 3”) – and so on… this recursion will ultimately yield attributes that are primitive or string this process of recursing into the attributes is called serializing so to save an object means to serialize it 4
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/13/2012 for the course CSE 1720 taught by Professor Baljko during the Winter '12 term at York University.

Page1 / 6

CSE1720_F11_Lecture09_Inheritance_III.pptx - Topics CSE...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online