Answer Posted / Rashmi Raj Maurya
A private class is a class that can only be used within the package it's defined. To create an object of a private class, you need to have access to the package it belongs to. Once you have access to the package, you can use the 'NEW' keyword followed by the class name to create an instance.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category