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









Related Tutorials/Questions & Answers:
question1 - Java Beginners
java class - Java Interview Questions
Advertisements
inner class - Java Interview Questions
Core Java Interview Questions Page 2, Core Java QuestionQ
abstract class - Java Interview Questions
Pattern class - Java Interview Questions
OBJECT CLASS - Java Interview Questions
Inner class - Java Interview Questions
abstract class - Java Server Faces Questions
abstract class - Java Server Faces Questions
where singleton class used in java - Java Interview Questions
write those 3 questions (class)
Java - Java Interview Questions
Difference between extends thread class vs implements runnable interface - Java Interview Questions
Design a class named BankAccount to hold datas for a bank account in Java using Bluej Software - Java Interview Questions
can i restrict a class that it will not allows create more than two objects - Java Interview Questions
How to call business deleget class(EJB) from JSF Page? - Java Server Faces Questions
java questions - Java Interview Questions
clone() method of object class - Java Interview Questions
Java class
Core Java Interview Questions!
java - Java Interview Questions
java questions
java class
java - Servlet Interview Questions
java class
java questions
JAVA QUESTIONS - Java Beginners
interview questions - Java Interview Questions
Java Questions
Java Questions
interview - Java Interview Questions
Java Questions
java - Java Interview Questions
Java Interview Questions
jvm - Java Interview Questions
Struts - Java Interview Questions
Java Questions & Java FAQ
help me - Java Interview Questions
Questions about Java's String pool
java questions
java questions
java questions
java questions
java Questions
Java inner class and static nested class
java certification questions - Java Beginners
java - Java Interview Questions
java - JSP-Interview Questions
Java Class Size

Ads