Answer:
x.get(0).
Explanation:
Arraylist provides dynamic arrays in Java means arrays that can resize themselves if needed.
We have arraylist x.We want to return the first element which will be stored at the index 0 because the indexing starts from 0.So 0 is the first index.
get(int index):- It return the element from the list at the specified index.
So we conclude the answer to this question is x.get(0).
Answer:
Forward.
Explanation:
E-mail is an acronym for electronic mail and it can be defined as a set of written words, texts, characters used for conveying a message from one person to another. It is a channel or medium of communication between one person and the other.
Forward simply sends a copy of the message and any additional comments to a different e-mail address. The term forward is used in email to describe the process of sending a message.
Answer:
The code to define a structure with the characteristics given is:
struct date {
<em>int </em>day;
<em>int </em>month;
<em>int </em>year;
};
Explanation:
First you have to declare your structure using a data type struct(first line) and the name of the structure, inside brackets you define all the members of the structure and the type of each one following the next pattern:
- struct <em>name_struct </em>{
<em>type </em>item1;
<em>type item2;</em>
<em> /*...</em>
};
Finally we get into the correct answer:
struct date {
<em>int </em>day;
<em>int </em>month;
<em>int </em>year;
};
Answer:
Spreadsheet is used to make calculation of daily personnel expense and income easily.
Explanation:
In personnel finance we need to manage all income and expenditures on daily, weekly or monthly basis. To track our income and expense records, we use Excel spreadsheets to mange our budget.
The major advantages of Spreadsheet are given below:
1. In spreadsheets we can easily enter, edit or delete data.
2. We can perform any type of calculations on our data easily.
3. we can plot graphs or other visualizations to analyze the expenditures and income graphically.
4. We can calculate tax and future forecast with the help of spreadsheet.