hacker rank java 40th problem solution(java abstract class)

40. java Abstract class


 class MyBook extends Book{
  @Override
   void setTitle(String s){
   title =s;
   }
  }
 

Compiler Message
Success
Input (stdin)Download
A tale of two cities
Expected OutputDownload
The title is: A tale of two cities

Comments

Popular posts from this blog

Amazon Web Services

Hacker Rank all java and python problem solutions

Testing tools for React Apps