Question: java what is the right answer? 3. If a method in a subclass has the same name as a method in its superclass with different
3. If a method in a subclass has the same name as a method in its superclass with different parameter types, the method is a) static method b) void method 4. If no inheritance is specified when a class is defined overloaded d) overridden 5. Every object has the ... method inherited from the Object class. a) charAt b) toString c) indexOf 6. For reading text data from a file we can use the ...class. d) next a) File (b) Scaprer c) java.io X. To declare an exception in a method, use the ... keyword. d) PrintWriter (a) throws b) throw 8. The ... contains the methods for obtaining the properties of a file/directory. a) absolute file name (b) File class c) Scanner class d) PrintWriter class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
