What Will Be The Correct Statement In The Following C Codep Pre #426
What will be the Correct statement in the following C# code?</p> <pre><code class="language-csharp" line="1"> interface a1 { void f1(); void f2(); } class a :a1 { private int i; void a1.f1() { } } </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs108 CSharp. It can also be found in gs gs108 Object Oriented Concepts - Interfaces Implementation - Quiz No.1.
What will be the Correct statement in the following C# code?
interface a1 { void f1(); void f2(); } class a :a1 { private int i; void a1.f1() { } }
Class a could not have an instance data
Class a is an abstract class
Class a fully implements the interface a1
None of the mentioned