Answer:
SMTP
Explanation:
This is the SMTP or the Simple Mail Transfer Protocol. It is the push protocol and is used to send the mail message. Whereas POP3 and IMAP are meant for retrieving the message. These are the three main types of protocols associated with mail services. And the correct answer here is certainly the SMTP.
Answer:
The code will give an error that is "At least one public class is required in main file".
Explanation:
In the given code if we do not use the public access modifier to the class. It will give an error so, the correct code to this question as follows:
Program:
import java.util.HashSet; //import package
public class A //define class as public.
{
public static void main(String[ ] args) //define main method.
{
HashSet set = new HashSet(); //creating hashset object.
set.add("A"); //add alphabet in hashset
set.add("B"); //add alphabet in hashset
set.add("C"); //add alphabet in hashset
System.out.print("Size of HashSet is :"set.size()); //print the size of hashset.
}
}
Output:
Size of HashSet is : 3
Explanation of the program:
- In the above program, we define a public class that is "A" and inside the class, we define the main method.
- Inside the main method, we create a HashSet class object that is "set".
- To add elements in HashSet we use add() function that adds elements and in the last, we use the size() function that prints the size HashSet.
Answer:
1. row a horizontal set of data in a spreadsheet
2. spreadsheet software used by many business professionals to work with numbers
3. data information that is stored
4. template a file that serves as a starting point for a new document
5. function a built-in formula in a spreadsheet
6. invoice a statement you submit to get paid for a product or service
Explanation:
The correct matches have been mentioned in the answer section. Certainly, a row is the horizontal set of data is a spreadsheet. And other options are self-understood. And hence, it is self-explanatory.