Answer:
import java.util.Scanner;
public class HollowSquare
{
public static void main(String args[])
{
Scanner scan = new Scanner(System.in);
int size;
System.out.print("Enter the size : ");
size = scan.nextInt();
if(size>=1 && size<=20)
{
for(int i=0; i<size; i++)
{
for(int j=0; j<size; j++)
{
if(i==0 || j==0 || i==size-1 || j==size-1)
System.out.print("*");
else
System.out.print(" ");
}
System.out.println();
}
}
else
System.out.println("Invalid size.");
}
}
Answer:
News: enables you to access newsgroups
http:// enables transfer of hypertext documents
ftp:// enables you to download from and upload to a remote computer
file:// loads a local file from your computer
mailto: loads the browser's e-mail screen to send an e-mail message
You cannot, I would recommend going to a hardware store and buying a new one.
Answer:
Antivirus is that program which helps the system administrator to determine the Trojan horse.
Explanation:
The Trojan horse is the malware which fools the system administrator is that file cannot harm your device.
Trojan is the type of virus that allows hackers to remotely control and access your system. This virus can decrease the performance of your device and your system is not working properly and popups and the advertisements can interrupt your browser.
Precautions:
Firstly, ensure that the Trojan antivirus is installed and running on your computer.
All the software of your system is up to date to its latest version.
And never download and install any file from that site which is not fully trusted.
A, because it is full of random symbols and numbers,