Answer:
public class Date {
private int month;
private int day;
private int year;
// Constructor
public Date(int month, int day, int year) {
this.month = month;
this.day = day;
this.year = year;
}
//Getters and setter
public int getMonth() {
return month;
}
public void setMonth(int month) {
this.month = month;
}
public int getDay() {
return day;
}
public void setDay(int day) {
this.day = day;
}
public int getYear() {
return year;
}
public void setYear(int year) {
this.year = year;
}
void displayDate(){
System.out.println(getMonth()+"/"+getDay()+"/"+getYear());
}
}
//Test Class
class DateTest {
public static void main(String[] args) {
Date dateOne = new Date(12, 25, 2019);
dateOne.displayDate();
}
}
Explanation:
- Using Java programming Language
- Create the Date class with the instance variables (Month, day and year) all of type int
- Create the the constructor to initialize all the instance variables
- Create getters and setters for all the instance variables
- Create the displayDate() method which uses string concatenation along with the get() method of all the instance variables
- Create a test class that initializes an instance of the of the Date class
- Call the method displayDate on the instance of the class created
Select to get into the manager to navigational path to edit the name of a cell range using Name Manager.
Select to get into the manager.
<u>Explanation:</u>
In MS-excel any cell can be edited in opened documents. End user can select(Select to get into the manager) the particular cell or and either double click or press F2 key to edit. Once end user press F2 key or double click then, data is copied in the edit cell mode.
That is nothing but function formula editor where data is display and edited by end user and press enter then data is edited. After that end user edited the necessary cell, end user has to save the document. If case he has to do edit cell nothing but undo, end user can press control key +Z.
What needs to be done is hook it up to ur computer then wait for the driver to install and rhen ur done
I’m going to assume it’s wan