1. Which of the following statements are correct about an interface in C#.NET? A class can implement multiple interfaces. Structures cannot inherit a class but can implement an interface. In C#.NET, : is used to signify that a class member implements a specific interface. An interface can implement multiple classes. The static attribute can be used with a method that implements an interface declaration.





Write Comment

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Tags
Show Similar Question And Answers
QA->A computer with a 32 bit wide data bus implements its memory using 8 K x 8 static RAM chips. The smallest memory that this computer can have is:....
QA->Statements of affairs method is called or known as _____ method.....
QA->…………….means the annual financial statements and other statements prescribed under Rule 65 of Kerala Panchayat Raj (Accounts) Rules, 2011?....
QA->A school has only three classes comprised of 40, 50 and 60 students respectively. In these classes, 10%, 20% and 10% students respectively passed in the examinations. What is the percentage of students passed in the examination from the entire school?....
QA->A static member function can have access to:....
MCQ->Which of the following statements are correct about an interface in C#.NET? A class can implement multiple interfaces. Structures cannot inherit a class but can implement an interface. In C#.NET, : is used to signify that a class member implements a specific interface. An interface can implement multiple classes. The static attribute can be used with a method that implements an interface declaration.....
MCQ-> A school consisting of a total of 1560 students has boys and girls in the ratio of 7:5 respectively. All the students are enrolled in different types of hobby classes, viz: Singing, Dancing and Painting.One-fifth of the boys are enrolled in only Dancing classes.Twenty percent of the girls are enrolled in only Painting classes.Ten percent of the boys are enrolled in only Singing classes.Twenty four percent of the girls are enrolled in both Singing and Dancing classes together.The number of girls enrolled in only Singing classes is two hundred percent of the boys enrolled in the same.One-thirteenth of the boys are enrolled in all the three classes together.The respective ratio of boys enrolled in Dancing and Painting classes together to the girls enrolled in the same is 2 :1 respectively.Ten percent of the girls are enrolled in only Dancing classes whereas eight percent of the girls are enrolled in both Dancing and Painting classes together.The remaining girls are enrolled in all the three classes together.The number of boys enrolled in Singing and Dancing classes together is fifty percent of the number of girls enrolled in the same.The remaining boys are enrolled in only Painting classes.What is the total number of boys who are enrolled in Dancing ?
 ....
MCQ->Which of the following statements are correct about an interface used in C#.NET? An interface can contain properties, methods and events. The keyword must implement forces implementation of an interface. Interfaces can be overloaded. Interfaces can be implemented by a class or a struct. Enhanced implementations of an interface can be developed without breaking existing code.....
MCQ->Which of the following is the correct way of applying the custom attribute called Tested which receives two-arguments - name of the tester and the testgrade? Custom attribute cannot be applied to an assembly. [assembly: Tested("Sachin", testgrade.Good)] [Tested("Virat", testgrade.Excellent)] class customer { / .... / } Custom attribute cannot be applied to a method. Custom attribute cannot be applied to a class.....
MCQ->Which two statements are true for any concrete class implementing the java.lang.Runnable interface? You can extend the Runnable interface as long as you override the public run() method. The class must contain a method called run() from which all code for that thread will be initiated. The class must contain an empty public void method named run(). The class must contain a public void method named runnable(). The class definition must include the words implements Threads and contain a method called run(). The mandatory method must be public, with a return type of void, must be called run(), and cannot take any arguments.....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use
DMCA.com Protection Status Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions