Answer:
True is the right answer for the above question.
Explanation:
When a user created a new file with the same name which is already on the disk, then a pop-up window will alert the message to change the name of the file or a computer system replace the old files with a new one. It means that no files exist on the system with the duplicate name.
If it happens in some case then there must be possible that there is one file written in a disk one two places with the different data at the same time. It is because of system error.
The question concept also means the same which is described above. Hence the question is a true statement.
Answer
Address masquerading technique.
Explanation:
Address masquerading
Answer:
Drawing tools, spreadsheets, Audio, Video lectures, and PowerPoint presentations, etc.
Answer:
static void Main(string[] args)
{
try
{
Console.Write("Enter your name: ");
string name = Console.ReadLine();
if (name.Length > 15)
{
throw new Exception($"Name length {name.Length} is too long, max 15!");
}
else
{
Console.WriteLine("Hello " + name);
}
}
catch(Exception ex)
{
Console.WriteLine("Exception occurred: " + ex.Message);
}
}
Explanation:
This is one way of doing it. More elaborate is to subclass Exception into NameLengthException and throw that.