Answer:
import java.util.*;
public class Country
{
public static void main(String args[])
{
char ch,temp;
int flag = 0;
String country;
ArrayList<String> countries = new ArrayList<String>();
Scanner sc = new Scanner(System.in);
do
{
System.out.println("enter the country you have visited:\t");
country = sc.next();
for(int i=0;i<countries.size();i++)
{
if(countries.get(i).equals(country))
{
System.out.println("you have already entered the country");
flag = 1;
break;
}
}
if(flag == 0)
{
countries.add(country);
flag = 0;
}
System.out.println("want to add another country(y/n):\t");
ch = sc.next().charAt(0);
}while(ch!='n');
Collections.sort(countries);
System.out.println("Countries you have visited:\t"+countries);
System.out.println("Total number of contries visited:"+countries.size());
}
}
Explanation:
Answer:
Review Tab is the correct answer to the given question .
Explanation:
Giving the permission to file in word 2016
- Click on the Review tab and select the restrict tab .
- Chose the option allow this type of editing .
- After that choose the option No changes .
- Pick the section of the document they want to authorize the adjustments.
- After that there are multiple option are seen select accordingly as user need and press ok button .
- Click on the start permission there is option is seen Start enforcement and press the button option start Enforcing Protection.
- After that feeding the password if the user need the password is in encrypt form then press encrypt option and click ok .
If the user need to read the file
- Click on the Review tab and select the restrict tab .
- After that choose the option "Stop Protection" .
- Giving the password you are feeding in the permission of file .
- Finally the user will edit the document
The answer is C. Tablet, because that is the quickest, easiest, and most recent way of communication.
You can easily organize your work space. also you may have more resources. hope this helps