Hi .. I need topic for my java project and I need to use inheritance in the project I'm thinking of book store or employees , nut how can I use inheritance in book store or employees what class will I inherit from
sk8ergirl
0
Newbie Poster
barbr555
commented:
thanx for this question and thread. Helped me a lot.
+0
Recommended Answers
Jump to Postyou can create a class Employee, and two subclasses, Manager and Salesperson.
All 3 Replies
stultuske
1,116
Posting Maven
Featured Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
ruchi18
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.