Object Concepts and Terminology-1

This constructor will inidalize numeric data as zero

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

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: variables created within methods or other block structures. Syntax: this.variableName // refers to an instance variable this (argumentList) // refers to another constructor this.methodName( ) // refers to a method in this class object.method (this) // passes...
View Full Document

Ask a homework question - tutors are online