1. Which of the following functions are performed by a constructor?





Write Comment

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

Comments

Tags
Show Similar Question And Answers
QA->By which bank are the central banking functions in India performed?....
QA->As per procurement guidelines what is the strength fixed.Name the schedule in which the functions of Grama Panchayat are enlisted in the Kerala Panchayat Raj Act, 1994?....
QA->Name the schedule in which the functions of Grama Panchayat are enlisted in the Kerala Panchayat Raj Act, 1994?....
QA->In which district Kakkad Electricity project functions?....
QA->The GFR (glomerular filtration rate) is the diagnostic test of which organ"s functions?....
MCQ->Which three statements are true? The default constructor initialises method variables. The default constructor has the same access as its class. The default constructor invokes the no-arg constructor of the superclass. If a class lacks a no-arg constructor, the compiler always creates a default constructor. The compiler creates a default constructor only when there are no other constructors for the class.....
MCQ->Which of the following statements are correct about static functions? Static functions can access only static data. Static functions cannot call instance functions. It is necessary to initialize static data. Instance functions can call static functions and access static data. this reference is passed to static functions.....
MCQ->Assertion (A): C has a large number of library functions classified as arithmetic functions, data conversion functions, character classified functions, string manipulation functions, searching and sorting functions etc.Reason (R): 8086 uses a segment : offset addressing scheme.

....
MCQ-> Questions are based on a set of conditions. In answering some of the questions, it may be useful to draw a rough diagram. Choose the response that most accurately and completely answers each question. Seven bands were scheduled to perform during the week long music festival at XLRI. The festival began on a Monday evening and ended on the Sunday evening. Each day only one band performed. Each band performed only once. The organizing committee had the task of scheduling the performances of the seven bands - Cactus, Axis, Enigma, Boom, Fish, Dhoom and Bodhi Tree. The festival schedule followed the following conditions: the performance of Bodhi. Tree, the home band of XLRI, did not precede the performance of any other band. Among the visiting bands three were rock bands and the other three were fusion bands. All three bands of the same genre were not allowed to perform consecutively. Boom, which was a rock band, refused to perform immediately before or after Fish. Meet, who was a lead vocalist with a rock band, refused to perform after Angelina. Angelina, the only female lead vocalist in the music fest besides Bony, was with the band Enigma. Angelina refused to perform after Thursday citing personal reasons. Ali, who was the lead vocalist of a rock band, was not with the band Dhoom, and did not perform on Saturday. Sid, the lead vocalist of the rock band Cactus, could perform only on Monday. Rupam, the only male among the lead vocalists of the fusion bands, was with Fish and performed on Wednesday. None of the bands performed in absence of their lead vocalist.All of the following statements can be true except:
 ....
MCQ->Which of the following statements are correct about the C#.NET code snippet given below? namespace IndiabixConsoleApplication { class index { protected int count; public index() { count = 0; } } class index1: index { public void increment() { count = count +1; } } class MyProgram { static void Main(string[] args) { index1 i = new index1(); i.increment(); } } } count should be declared as public if it is to become available in the inheritance chain. count should be declared as protected if it is to become available in the inheritance chain. While constructing an object referred to by i firstly constructor of index class will be called followed by constructor of index1 class. Constructor of index class does not get inherited in index1 class. count should be declared as Friend if it is to become available in the inheritance chain.....
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