Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336
Exceptions can be thrown even from a constructor, whereas error codes cannot be returned from a constructor. ?->(Show Answer!)
Question Set

1. Exceptions can be thrown even from a constructor, whereas error codes cannot be returned from a constructor.



Ask Your Doubts Here

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

Comments

Show Similar Question And Answers
QA->P can do a work in the same time in which Q and R together can do it. If P and Q work together, the work can be completed in 10 days. R alone needs 50 days to complete the same work. then Q alone can do it in....
QA->Vitamin A; D; E;K are fat soluble whereas vitamin B complex and C are ?....
QA->On a clean glass plate a drop of water spreads to form a thin layer whereas a drop of mercury remains almost spherical because?....
QA->“For that light represented something more than the immediate past, it represented the living, the eternal truths, reminding us of the right path, drawing us from error, taking this ancient country to freedom.” Who said these words when Gandhiji passed away?....
QA->He was (a)/ punished severely (b)/ on sleeping (c)/ in the class (d) Spot the portion which carries error....
MCQ->Exceptions can be thrown even from a constructor, whereas error codes cannot be returned from a constructor.....
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->In order to comply with TRIPS Agreement, India enacted the Geographical Indications of Goods (Registration Protection) Act, 1999. The difference/differences between a "Trade Mark" and a Geographical Indication is/are: 1. A Trade Mark is an individual or a company's right whereas a Geographical Indication is a community's right. 2. A Trade Mark can be licensed whereas a Geographical Indication cannot be licensed. 3. A Trade Mark is assigned to the manufactured goods whereas the Geographical Indication is assigned to the agricultural goods/products and handicrafts only. Which of the statements given above is/are correct ?....
MCQ->Which of the following statements are correct about the structure declaration given below? struct Book { private String name; protected int totalpages; public Single price; public void Showdata() { Console.WriteLine(name + " " + totalpages + " " + price); } Book() { name = " "; totalpages = 0; price = 0.0f; } } Book b = new Book(); We cannot declare the access modifier of totalpages as protected. We cannot declare the access modifier of name as private. We cannot define a zero-argument constructor inside a structure. We cannot declare the access modifier of price as public. We can define a Showdata() method inside a structure.....
MCQ->Which of the following statements are correct about exception handling in C#.NET? If our program does not catch an exception then the .NET CLR catches it. It is possible to create user-defined exceptions. All types of exceptions can be caught using the Exception class. CLRExceptions is the base class for all exception classes. For every try block there must be a corresponding finally block.....
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