Professional Documents
Culture Documents
Group Activity Experiment
Group Activity Experiment
Group Activity Experiment
I. Objective
Parameterized Constructor
A parameterized constructor accepts parameters with which you can initialize the instance
variables. Using parameterized constructor, you can initialize the class variables dynamically
at the time of instantiating the class with distinct values.
Syntax
Example
Output
test
II. Procedure/s
Write a program in JAVA to create a class Bird also declares the different parameterized
constructor to display the name of Birds.
V. Activity Report
Aguilos, Mervin
Rumbaoa, Carlos
Valenzuela, Leoniel