Answer:
"A class that inherits from two classes"
Explanation:
If we're talking about Java, you can't extend from two classes. The reason for this is Java doesn't allow multiple inheritance.
The reason for this is to avoid the ambiguity caused by it. One of the cases where multiple inheritance can cause ambiguity is the diamond problem.
Diamond problem can occur if two classes (say B and C) inherit from one class (say A). And another class (say D) inherits from both B & C.
If B and C class override the same method from A class. And D class calls that method, which one will be called, class B's or C's??
Answer:
The main method should simply terminate if the FileNotFoundException occurs.
Explanation:
Considering the full code snippet
snippet:public static void main(String[] args) throws FileNotFoundException
public static void main(String[])
represent the entry point method to a java main method
The addition of
throws FileNotFoundException
widens the scope of the main method to explicitly specifies that an exception named the FileNotFoundException may be thrown.
So, if any part of the code explicitly throws the FileNotFoundException the compiler makes use of this to throw an exception.
By throwing an exception, the main method is not catching any exceptions, instead it handles the FileNotFoundException by throwing it to the source which invoked the main method
This is required by the compiler to terminate the program if the FileNotFoundException occurs.
Select the text you want to alter.
Press Shift+F3. Word changes the case of the selected text.
Continue pressing Shift+F3 until the case is the way you want it.
hope this helps
top i believe is the answer
Simply press F7 or go to the tab 'Review' and --> left click 'spelling'. Located in the top panel.
This will enable the spell checking phase.