Answer:
import java.awt.Point;
public class Line{
private Point point1, point2;
public Line(Point p1, Point p2){
point1 = p1;
point2 = p2;
}
public Point getP1(){
return point1;
}
public Point getP2(){
return point2;
}
public String toString(){
return "[( The " + point1.x + "," + point1.y + "), (" + point2.x + "," + point2.y +")]";
}
public static void main(String args[]){
Line lineObj = new Line(new Point(7,9), new Point(6,2));
System.out.println(lineObj.toString());
}
}
Explanation:
- Declare the points inside the class Line.
- Initialize the getters and setters method for the class.
- Define a toString method that returns the information in a formatted manner.
- Inside the main method, initialize an object with some values.
- Display the information by calling the toString method.
Answer:
False, it only needs approval of your parents/guardian
May I have brainliest please? :)
Answer:
i think its b
Explanation:
i did the test and got it right
Answer:
Communication - Speed / time – money can be saved because it's much quicker to move information around. ...
Globalization - Video conferencing saves money on flights and accommodation. ...
Cost effectiveness - It feels free to send an email (although it isn't); it's without doubt cheaper than phone calls.
Explanation:
Answer:
chunking and short-term is the correct answer of this question.
Explanation:
chunking is a strategy to enhance a short-term memory.
Chunking is an method used to separate larger numbers that can not be psychologically separated.Chunking is the grouping of words in one sentence into short, important phrases. A chunk is the material segment that is used in many graphical formats, such as PNG etc.
Short-term memory is the knowledge a person is considering or is conscious of. This is also called healthy or main memory.