Answer:
public class SimpleSquare{
public int num;
private int square;
public SimpleSquare(int number){
num = number;
square = number * number;
}
public int getSquare(){
return square;
}
}
Explanation:
*The code is in Java.
Create a class called SimpleSquare
Declare two fields, num and square
Create a constructor that takes an integer number as a parameter, sets the num and sets the square as number * number.
Since the square is a private field, I also added the getSquare() method which returns the value of the square.
Answer:
Designations at the end of file names such as .docx and .html are called. File extensions.
Explanation:
Answer:
for y in range(88, 43, -4):
print(y, end=" ")
Explanation:
yw
Spell-check feature is the one that auto corrects any misspelled words
D. A database is software which is designed to store massive amounts of data and organize them in such a way that information can easily be worked on (added, deleted, moved, etc...).