We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Java
- Advanced
- Can You Access?
- Discussions
Can You Access?
Can You Access?
Sort by
recency
|
137 Discussions
|
Please Login in order to post a comment
I came to the solution by adding the following lines to use Java reflection and access the private powerof2 method in Solution.Inner.Private:
`
The task description is very vague. Only by reading Editorial section I learned that we are supposed to use reflection to call the method of inner class.
For JAVA 8
Just write it to the area that is shown us.
My solution: