Computer Science, asked by yashovardhanReddy29, 1 month ago

Write any program using a constructor in java in blue j
(any simple program)​

Answers

Answered by ritikasingh9940
1

Answer:

Within BlueJ, you decide the value and enter it into a dialog box. Part of the task of the constructor is to receive that value and store it in the price field of the newly created ticket machine, so the machine can remember what that value was without you having to keep reminding it.

Similar questions