package ru.job4j.condition;

public class Point {

    private int x;
    private int y;

    public Point(int x, int y){
        this.x=x;
        this.y=y;
    }

    public int getX(){
        return this.x;
    }

    public int getY(){
        return this.y;
    }

    public boolean is(int a, int b){
        return (this.y==a*this.x+b?true:false);
    }
}

@@ -316,17 +316,16 @@
  return 
-(
 this.y==
@@ -338,20 +338,8 @@
 .x+b
-?true:false)
 ;%0A  

task 188