Is there a way to require a subclass to call super explicitly in it's constructor?
Doogledude123
45
Posting Whiz
Recommended Answers
Jump to PostMake the superclass default constructor private and provide a public constructor that takes a parameter ?
All 4 Replies
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
jwenting
1,889
duckman
Team Colleague
Doogledude123
45
Posting Whiz
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured 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.