Java Class Question?

Java Class Question?

Create a class names Purchase Each purchase contains an invoice number, amount of sale and amount of sales tax. Include set methods for the invoice number and sale amount. Within the set() method for the sale amount, calculate the sales tax as 5% of the sale amount. also include a display method that displays a purchase's details

View Answers

Ads









Related Tutorials/Questions & Answers:
Inner class - Java Interview Questions
Core Java Interview Questions Page 2, Core Java QuestionQ
Advertisements
write those 3 questions (class)
java questions
java questions
Java Questions
Java Questions
Core Java Interview Questions!
java questions
java questions
java questions
java questions
java Questions
Java Questions & Java FAQ
Java Interview Questions
Questions about Java's String pool
Interview Questions - What is Java?
Java interview questions and answers
Java - Java Interview Questions
java - Java Interview Questions
Interview Questions - Where Java is used?
Java interview questions
Interview Questions - How Java is Used?
java - Java Interview Questions
Java - Java Interview Questions
Java - Java Interview Questions
Java Interview Questions - Page 1
constructor - Java Interview Questions
HASHSET - Java Interview Questions
j2ee - Java Interview Questions
Collection of Large Number of Java Interview Questions!

Ads