Chapter 11
Premium

5 Pages
180 Views
Unlock Document

Department
Information Technology Management
Course
ITM 200
Professor
Vikraman Baskaran
Semester
Winter

Description
Class Name State Behavior Objects Chapter 11 Objects are unique and can be distinctly identified An Object has a unique identity, state, behavior o State: data field (radius = 1), a variable o Behavior: set of methods (getArea (), getPerimeter ()) Classes are constructs that define objects of the same type Constructors Same name as the class name A constructor with no parameters is referred to as a no-arg constructor Does not return value no void Can be overloaded like other methods Circle mycircle = new Circle(5.0) o Circle: Data Type o myCircle: object name o new: creating a new object o Circle: calling the constructor When using this, there has to be a constructor made Circle www.notesolution.com
More Less

Related notes for ITM 200

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit