Select the most correct statement.

A. An interface may be declared as public, protected or private.
B. An interface may be declared as public, protected, private or abstract.
C. An interface may be declared as public or abstract.
D. An interface may be declared as public or protected.


Ans: A. An interface may be declared as public, protected or private.

Computer Science & Information Technology

You might also like to view...

Which of the following statements is false?

a) C# 6’s null-conditional operator (?!) accesses a property or calls a method only if its left operand is not null; otherwise, evaluation of the expression terminates and the value of the entire expression is null. b) A nullable type is a value type that also can be null. c) You specify a nullable type by following a value type’s name with a question mark (?). d) The GetValueOrDefault method checks whether a nullable-type variable contains a value. If so, the method returns that value; otherwise, it returns the value type’s default value.

Computer Science & Information Technology

Who developed Linux?

A. Dennis Ritchie B. Linus Torvalds C. Andrew Tannenbaum D. Ken Thompson

Computer Science & Information Technology

A(n) ________ is a list of sources referenced in a presentation

Fill in the blank(s) with correct word

Computer Science & Information Technology

Match each item with a statement below.

A. An advanced vim navigational command that moves the cursor to the top of the screen. B. An advanced vim navigational command that moves the cursor to the last line of the screen. C. An advanced vim navigational command that moves the display down a full screen. D. An advanced vim navigational command that moves the cursor one space to the right. E. An advanced vim navigational command that moves the cursor to the last line of the file. F. An advanced vim navigational command that moves the cursor to the end of the current line. G. An advanced vim navigational command that moves the cursor to the middle of the screen. H. An advanced vim navigational command that moves the display up a full screen. I. An advanced vim navigational command that moves the cursor to the beginning of the next line.

Computer Science & Information Technology