Lecture6 - void n class A void K class B extends A...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
// Lecture 6 //Mark and Sweep: implementation of asodghpasoihg //Garbage collector, looks at its local variable and braches out to stuff. //Lets say it uses DLL and calls clear. It sees an island of nodes that is not marked in use // so it'll be swept away. ///// interface X{ void x(); } interface Y extends X{ W y(); } interface W{
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: void n(); } class A{ void K() { } } class B extends A implements Y { void l () { } // You can infer which methods must also be implemented here based on the fact aht B implements Y } final B b = new B(); b.XXXX(); // What methods can replace XXX so that the code compiles //everything except n()...
View Full Document

This note was uploaded on 11/02/2011 for the course CSE 12 taught by Professor Gary during the Summer '08 term at UCSD.

Ask a homework question - tutors are online