Question: (Abstract and Interface Classes) 6) An interface name can be used to Which of these keywords cannot be used for a elass which has been

 (Abstract and Interface Classes) 6) An interface name can be used

(Abstract and Interface Classes) 6) An interface name can be used to Which of these keywords cannot be used for a elass which has been deciared tinal? A. Protected .abstract .extends O. Both F. None of t 8) Suppose X is an abstract class, v is a concrete subclass of x, and both X and Y hasa default construetor. which of the following is correct? (more than one answer here) b-new x(); D) Y b-new Y(); Which of the following statements are true about abstract classes? (more than the one answer in the questions) 9) A) An abstract method cannot be contained in a nonabstract class B) If a subclass of an abstract superclass does not implement all the abstract methods, the subclass must be declared abstract. An abstract class cannot be instantiated using the new operator. C) D) It is possible to declare an abstract class that contains no abstract methods. E) A subclass can be abstract even if its superclass is concrete. 10) How many String objects are instantiated by the following code segment ? String s1, output; s1 "hello" output InThe string reversed is: for (int i # s 1.length()-1; >:0; ..) output +#51.charAt(i) + " " ; A. 1 D. 7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!