I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
No Answer is Posted For this Question
Be the First to Post Answer
Which types of exceptions are caught at compile time?
Can we instantiate Interfaces?
How to read and write image from a file ?
How the metacharacters are different from the ordinary characters?
What do you mean by inner class in java?
Can we override constructors in java?
Which graphs are functions?
What is methods in java?
what is method reference in java 8?
Explain OOPs concept.
What is var keyword ?
Ducking is automatic in checked exception?True or false