Guest User

Untitled

a guest
Feb 24th, 2020
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.39 KB | None | 0 0
  1. interface ISelect{
  2.     public Select get();
  3. }
  4. interface IString{
  5.     public void accept(String s);
  6. }
  7. interface INumberQuestion{
  8.     public NumberQuestion get();
  9. }
  10.  
  11. interface IInteger{
  12.     public void accept(Integer s);
  13. }
  14.  
  15. class Route{
  16.     public static void askAndAnswer(ISelect s, IString c){
  17.  
  18.     }
  19.     public static void askAndAnswer(INumberQuestion s, IInteger c){
  20.  
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment