Advertisement
Guest User

Untitled

a guest
Oct 20th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. public class xyz {
  2.  
  3. public static void main(String[] args) {
  4. System.out.println(s("Привет", 5, 10.5));
  5. System.out.println(i(5));
  6. System.out.println(u("gggg"));
  7. }
  8.  
  9. public static String s(String s, int i, double d) {
  10. return s + i + d;
  11. }
  12.  
  13. public static int i(int in) {
  14. return in;
  15. }
  16.  
  17. public static String u(String t) {
  18. return t;
  19.  
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement