1. A __________ is a constructor that either has no parameters, or if it has parameters, all the parameters have default values.





Ask Your Doubts Here

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

Comments

Show Similar Question And Answers
QA->‘I have been touring different parts of the world. During these travels, I have had the good fortune to come into contact with several saints and maharshis. But I have frankly to admit that I have never come across one who is spiritually greater than Swami Sree Narayana Guru of Kerala” Whose words are these?....
QA->In a bid to fill the vacant seats in trains and meet the challenges posed by the roadways and airways, the Indian Railways has decided to give discount of up to __________ to passengers on ticket fares in air-conditioned executive class and chair cars of trains like Shatabdi Express, Gatiman Express, Tejas Express, Double Decker and Intercity Express.....
QA->“During my travels throughout the world, I have had the good fortune to come in contact with several saints and maharishis... But I have frankly to admit that I have never come across one who is spiritually greater than Swami Narayana Guru or a person who is at par with him in spiritual attainment.” Who paid tribute in the above words after visiting Sree Narayana Guru?....
QA->Who is the only person in the history of America to have served as both Vice President & President without being elected to either office?....
QA->Union Minister of State for Power and New and Renewable Energy (IC) and Skill Development and Entrepreneurship, RK Singh approved a proposal to declare __________ as Renewable Energy.....
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->A __________ is a constructor that either has no parameters, or if it has parameters, all the parameters have default values.....
MCQ->A constructor that accepts __________ parameters is called the default constructor.....
MCQ->Which of the following statements are correct? Data members ofa class are by default public. Data members of a class are by default private. Member functions of a class are by default public. A private function of a class can access a public function within the same class. Member function of a class are by default private.....
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 | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions