Can’t find an answer?

Can’t find an answer?

Ask us to get the answer

  • This forum is empty.

Access specifiers which can be used for an interface are?

(a) Public

(b) Protected

(c) Private

(d) All of the mentioned

This question was addressed to me in homework.

The above asked question is from Interfaces Introduction in portion Object Oriented Concepts of C#

  • C#
  • September 6, 2023 at 5:06 am

Which of these can be used to fully abstract a class from its implementation?

(a) Objects

(b) Packages

(c) Interfaces

(d) None of the Mentioned

I had been asked this question in quiz.

My enquiry is from Interfaces Introduction in chapter Object Oriented Concepts of C#

  • C#
  • November 13, 2023 at 5:06 am

Which keyword is used for correct implementation of an interface in C#.NET?

(a) interface

(b) Interface

(c) intf

(d) Intf

The question was posed to me during an online exam.

Query is from Interfaces Introduction in section Object Oriented Concepts of C#

  • C#
  • November 4, 2023 at 5:06 am

Select the correct statement among the given statements?

(a) One class could implement only one interface

(b) Properties could be declared inside an interface

(c) Interfaces cannot be inherited

(d) None of the mentioned

I have been asked this question by my school teacher while I was bunking the class.

The origin of the question is Interfaces Introduction in division Object Oriented Concepts of C#

  • C#
  • September 28, 2023 at 5:06 am

Which of the following statements correctly define about the implementation of interface?

(a) The calls to implementation of interface methods are routed through a method table

(b) A class which implements an interface can explicitly implement members of that interface

(c) One interface can be implemented in another interface

(d) None of the mentioned

I have been asked this question in an interview for job.

The doubt is from Interfaces Introduction in section Object Oriented Concepts of C#

  • C#
  • September 30, 2023 at 5:06 am

A class consists of two interfaces with each interface consisting of three methods. The class had no instance data. Which of the following indicates the correct size of object created from this class?

(a) 12 bytes

(b) 16 bytes

(c) 0 bytes

(d) 24 bytes

I have been asked this question in homework.

This interesting question is from Interfaces Introduction in section Object Oriented Concepts of C#

  • C#
  • September 15, 2023 at 5:06 am

Which of the following cannot be used to declare an interface correctly?

(a) Properties

(b) Methods

(c) Structures

(d) Events

The question was posed to me during an interview.

My doubt is from Interfaces Introduction in section Object Oriented Concepts of C#

  • C#
  • October 19, 2023 at 5:06 am

Which statement correctly defines Interfaces in C#.NET?

(a) Interfaces cannot be inherited

(b) Interfaces consists of data static in nature and static methods

(c) Interfaces consists of only method declaration

(d) None of the mentioned

The question was posed to me during an online exam.

I would like to ask this question from Interfaces Introduction topic in section Object Oriented Concepts of C#

  • C#
  • August 23, 2023 at 5:06 am

The modifier used to hide the base class methods is?

(a) Virtual

(b) New

(c) Override

(d) Sealed

I have been asked this question in an international level competition.

This interesting question is from Method Overriding topic in portion Object Oriented Concepts of C#

  • C#
  • September 5, 2023 at 5:06 am

Which of the following cannot be used to declare a class as a virtual?

(a) Methods

(b) Properties

(c) Events

(d) Fields

I had been asked this question in class test.

The query is from Method Overriding in chapter Object Oriented Concepts of C#

  • C#
  • November 14, 2023 at 5:06 am

Viewing 15 topics - 61 through 75 (of 257 total)

1 2 3 4 5 6 16 17 18
  • You must be logged in to create new topics.