hacker rank 43th problem solution(java method overriding 2)

43.java method overriding 2



String temp=super.define_me(); 




//it sounds better than ok actually
//taking define_me method from the super class
//inheriting the properties of main parent class


Compiler Message
Success
Expected OutputDownload
Hello I am a motorcycle, I am a cycle with an engine.
My ancestor is a cycle who is a vehicle with pedals.
{-truncated-}
Download to view the full testcase

Comments

Popular posts from this blog

Amazon Web Services

Google Code-In mentorship experience :)

Hacker Rank all java and python problem solutions