hacker rank java 50th java (can you access?)

50 . CAN YOU ACCESS

//prewritten

o = new Inner().new Private();
System.out.println(num + " is " + ((Solution.Inner.Private)o).powerof2(num));

Compiler Message
Success
Input (stdin)Download
7
Expected OutputDownload
7 is not a power of 2
An instance of class: Solution.Inner.Private has been created



Comments

Popular posts from this blog

Amazon Web Services

Google Code-In mentorship experience :)

Hacker Rank all java and python problem solutions