Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface ISelect{
- public Select get();
- }
- interface IString{
- public void accept(String s);
- }
- interface INumberQuestion{
- public NumberQuestion get();
- }
- interface IInteger{
- public void accept(Integer s);
- }
- class Route{
- public static void askAndAnswer(ISelect s, IString c){
- }
- public static void askAndAnswer(INumberQuestion s, IInteger c){
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment