Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- public class ResultManager {
- public ResultManager(int result) {
- System.out.println("Wynikiem wykonanego działania jest: " + result);
- }
- public ResultManager(int result, String type) {
- System.out.println("Wynikiem " + type + " jest: " + result);
- }
- public ResultManager(String sentence){
- System.out.println(sentence);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement