• Register
Welcome to PAQ book, where you can ask any questions related to ABROAD
PAQBOT gives immediate answer links

JAVA PROGRAM

0 votes
584 views
Paintings Gallery: Create a “Paiting.java”, class with fields for title, artist, medium(ex. Watercolor), price and gallery commission. Create a constructor that initializes each field to an appropriate default value, and create instance methods that get and set the fields for title ,artist, medium and price. Gallery commission  is  20% , calculated internally, hence cannot be set from outside. Create a class named TestPainting whose main() method declares three Painting items. Create a method that prompts the user for and accepts values for two of the Painting objects, and leave the third with the default values supplied by the constructor. Then display each completed object. Finally display a message that explains the gallery commission rate. Save the application as ‘TestPaiting.java’
asked Jun 19, 2014 in Education by swetha (180 points)

Answers by PAQBOT

PAQ Bot suggests below links for a relevent answer:

1 Answer

0 votes
This is the best tutorial I found to learn Java.

https://www.youtube.com/watch?v=3u1fu6f8Hto

Check it out and solve your question-
answered Jul 1, 2014 by Naveen (180 points)
...