Constructors
JAVA LECTURE
BY: LJRABOY
Defining Constructors

A special kind of method that is designed
to perform initialization

A method that is called when...
Example:
Using Constructors and Reset
methods
Java lec constructors
Java lec constructors
Java lec constructors
Upcoming SlideShare
Loading in …5
×

Java lec constructors

320
-1

Published on

Java

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
320
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Java lec constructors

  1. 1. Constructors JAVA LECTURE BY: LJRABOY
  2. 2. Defining Constructors  A special kind of method that is designed to perform initialization  A method that is called when a new object is created.  Can perform any action you write into its definition  Serve the same purpose with the set method
  3. 3. Example:
  4. 4. Using Constructors and Reset methods
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×