The document defines a Product class with properties for ID, name and price, and a Display method to output those properties. It then creates a Program class with a Main method that gets user input for a product and calls the Display method.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
19 views
Program
The document defines a Product class with properties for ID, name and price, and a Display method to output those properties. It then creates a Program class with a Main method that gets user input for a product and calls the Display method.