how would you prevent a class from being used as a base class?
1
Expert's answer
2016-12-10T02:54:10-0500
Solution
public final class someClass{
}
Answer
If you make any class as final, you cannot extend it. That’s why you should use Java keyword “final” if you want prevent a class from being used as a base class.
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments