gs gs108 Object Oriented Concepts - Interfaces Implementation - Quiz No.1

gs gs108 CSharp Quiz

Online Quizzes Preparation

This quiz belongs to book/course code gs gs108 CSharp of gs organization. We have 110 quizzes available related to the book/course CSharp. This quiz has a total of 10 multiple choice questions (MCQs) to prepare and belongs to topic Object Oriented Concepts. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to prepare online MCQs and quizzes.

NVAEducation also facilitates users to contribute in online competitions with other students to make a challenging situation to learn in a creative way. You can create one to one, and group competition on an topic of a book/course code. Also on NVAEducation you can get certifications by passing the online quiz test.

Question 1: What will be the Correct statement in the following C# code?

 interface a1 { void f1(); int f2(); } class a :a1 { void f1() { } int a1.f2() { } } 
Question 2: Choose the wrong statement about ‘INTERFACE’ in C#.NET?
Question 3: 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() { } } 
Question 4: What will be the Correct statement in the following C# code?

 interface abc { String FirstName { get; set; } String LastName { get; set; } void print(); void stock(); int fun(); } 
Question 8: What will be the correct way to implement the interface in the following C# code?

  interface abc { string name { get; set; } }
Question 10: In order to avoid ambiguity among an interface derived from two base interfaces with same method name(and signature), the right code among the following C# codes is?


Online Quizzes of gs108 CSharp

Other LANG related online quizzes

Other categories of gs Online Quizzes

Other organizations

Theme Customizer

Gaussian Texture



Gradient Background