Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package geometria;
- public class Punkt {
- public double wspolrzednaX;
- public double wspolrzednaY;
- public Punkt(double x, double y){
- wspolrzednaX = x;
- wspolrzednaY = y;
- }
- @Override
- public String toString() {
- return (" wsprzółrzędna X: " + wspolrzednaX + " Y: " + wspolrzednaY);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment