1. Destructor has the same name as the constructor and it is preceded by ______ .





Ask Your Doubts Here

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

Comments

Show Similar Question And Answers
QA->A, B and C start at the same time in the same direction to run around a circular stadium. A completes a round in 252 seconds, B in 308 seconds and c in 198 seconds, all starting at the same point. After what time will they again at the starting point ?....
QA->How many ‘8’ are there followed by an even number and preceded by an odd number? 3825832832827848568784286....
QA->P can do a work in 24 days. Q can do the same work in 9 days and R can do the same in 12 days. Q and R start the work and leave after 3 days. P finishes the remaining work in --- days.....
QA->6 men and 8 women can complete a work in 10 days. 26 men and 48 women can finish the same work in 2 days. 15 men and 20 women can do the same work in - days.....
QA->If two bodies of different masses, initially at rest, are acted upon by the same force for the same time, then the both bodies acquire the same?....
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->Destructor has the same name as the constructor and it is preceded by ______ .....
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.....
MCQ->If the programmer does not explicitly provide a destructor, then which of the following creates an empty destructor?....
MCQ->In the following passage some of the words have been left out. Read the passage carefully and choose the correct answer for the given blank out of the four alternatives. We have rich cultural _____ . Its roots go into _____. Ours has never been a closed ______. It has _______ just like a tree, ______ to external ______ but holding its roots _______. But one wonders today whether it will be able to hold its _____. The ______ of our cultural heritage has come under the _____ of western culture. the _____ of western culture.....
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