Answer:
Option B: Text inserted into the top and bottom margins.
is the correct answer.
Explanation:
Header and footer can further be defined as:
- Data inserted in the top and bottom margin of the page.
- This data can be the one which you want to display on each page of the document.
- Header and footer are the optional data.
- We can add, document name, Author name, page number etc as header and footer.
- In order to add header and footer, go to the Insert tab.
- Locate header/ footer group under this tab.
- All the settings are available and can be modified easily.
i hope it will help you!
Answer:
False
Explanation:
Interfaces are similar to classes in Java, but they are not a type of class. A class defines the attributes and behaviours of objects, while interface contains the methods that shows the behaviours to be implemented by a class.
A method is one or more group of statements, it does not need to end with a semicolon. Methods in interfaces are abstract and for a class to contain these abstract method, it must be defined in the class.
Answer:
#include<iostream>
using namespace std;
//create the exchange function
void exchange(int a, int b){
int temp; //initialize temporary
//swap the variables value
temp=a;
a=b;
b=temp;
//print the output after exchange
cout<<"a is: "<<a<<endl;
cout<<"b is: "<<b<<endl;
}
//main function program start from here
int main(){
//initialization
int a=3, b=6;
exchange(a,b); //calling the function
return 0;
}
Explanation:
Create the function exchange with two integer parameter which takes the value from the calling function.
and then declare the third variable temp with is used for swapping the value between two variables.
first store the value of 'a' in the temp and then assign the 'b' value to 'a' and then, assign the temp value to b.
for example;
a=2, b=9
temp=2;
a=9;
b=2;
So, the values are swap.
and then print the swap values.
Create the main function and define the input a and b with values.
Then, calling the exchange function with two arguments.
The answer for Apex College and Career Prep 2 would be Probable College.