Answer:
public static void printDottedLine()
{
System.out.println(".....");
}
Explanation:
The above written code is in JAVA and it is the method definition of the method mentioned in the question.Since the method returns nothing hence it's return type is void and it does not have any arguments hence there is nothing written in the parenthesis.In JAVA System.out.println is used for standard output and trminates them by newline.
Answer:
Connection-oriented is the method which is implemented in the transport and data link layer. It is basically depend upon the physical connection in the network system.
Transmission control protocol (TCP) is the connection oriented and user datagram protocol (UDP) is the connection less network transport layer. The TCP and UDP both are operate in the internet protocol (IP).
It basically require connection and it can be establish before sending data. This is also known as reliable network connection service. The connection oriented service establish connection between the different connection terminal before sending any data or information. It can easily handle traffic efficiently.
Answer:
A compilation error will occur.
Explanation:
The % operator does not accept a float as its right-hand operand.