ITEC 2610 Lecture Notes - Lecture 4: Layout Manager, Ram Drive, Decimal Mark
Document Summary
Inheritance has notjing to do with modifier access modifier. Only thing not inherited from superclass is constructor. We are creating reference named parent and pointing it to the child but that doesn"t mean they are totally equall , the methods are not. Instanceof tests that if object belongs to certain class. Object is the root of java so classes like bank comes from object. Public final class q = means that it cannot be extended. 3 parts , tracing program 20% , 15% mc and programming. Ui events include , clicks mouse moves etc. Irrelevant events should be avoided , should indicate which events are needed. Button = eventsources , button triggers event event listener button triggers some event. Layout manager of container : arrangement of components. Layout managers , manage the layout of the container. Attach layout manager container , then it will be responsible for location of components. Heirachy : frame -> menu bar - > con .