Question Set

1. Suppose a Generic class called SortObjects is to be made capable of sorting objects of any type (Integer, Single, Byte etc.). Which of the following programming constructs should be used to implement the comparision function?






Ask Your Doubts Here

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

Comments

Show Similar Question And Answers
QA->If function inside another function is called a _____ Function....
QA->Average height of 10 students in a class is 150 cm. A boy of height 160 cm left the class and a boy of height 148 cm is admitted. Then what is the average height of the students in the class now?....
QA->There are 50 students in a class. In a class test 22 students get 25 marks each, 18 students get 30 marks each. Each of the remaining gets 16 marks. The average mark of the whole class is :....
QA->Which of the following Programming language is used to create programme like applets?....
QA->.....is usually used by the crew of a submarine to survey the ships etc, on the surface of the sea while the submarine is under water. It also enables the sailors to observe objects on the other side of an obstacle without exposing themselves..?....
MCQ->Suppose a Generic class called SortObjects is to be made capable of sorting objects of any type (Integer, Single, Byte etc.). Which of the following programming constructs should be used to implement the comparision function?....
MCQ->Which of the following statements are correct about objects of a user-defined class called Sample? All objects of Sample class will always have exactly same data. Objects of Sample class may have same or different data. Whether objects of Sample class will have same or different data depends upon a Project Setting made in Visual Studio.NET. Conceptually, each object of Sample class will have instance data and instance member functions of the Sample class. All objects of Sample class will share one copy of member functions.....
MCQ->Consider the following statements: Internal sorting is used if the number of items to be sorted is very large.External sorting is used if the number of items to be sorted is vary large.External sorting needs auxiliary storage.Internal sorting needs auxiliary storage. Which of the above statements are correct?....
MCQ->Which two can be used to create a new Thread? Extend java.lang.Thread and override the run() method. Extend java.lang.Runnable and override the start() method. Implement java.lang.Thread and implement the run() method. Implement java.lang.Runnable and implement the run() method. Implement java.lang.Thread and implement the start() method.....
MCQ->Suppose on pushing a button an object is to be notified, but it is not known until runtime which object should be notified. Which of the following programming constructs should be used to implement this idea?....
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 | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution