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.
  • HackerRank Home

    HackerRank

  • |
  • Prepare
  • Certify
  • Compete
  • Hiring developers?
  1. Prepare
  2. Java
  3. Advanced
  4. Can You Access?
  5. Discussions

Can You Access?

Problem
Submissions
Leaderboard
Discussions
Editorial

    You are viewing a single comment's thread. Return to all comments →

  • cahitbarkinozer
    3 months ago+ 0 comments

    This question teaches you creating an object of an innerclass:

    						Inner.Private innerPrivate = new Inner().new Private();
                
    						o = innerPrivate;
                
    						System.out.println(num + " is " + innerPrivate.powerof2(num));
    
    0|
    Permalink
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy