ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  C Sharp
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
Can we have private constructor in our class file. When we
are trying to create instance for the class will it create
or throw error regarding that?
 Question Submitted By :: Nithya_raghu
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can we have private constructor in our class file. When we are trying to create instance for the class will it create or throw error regarding that?
Answer
# 1
we can create private constructor.it wont throw any 
execption..but we cant create object for that class
 
Is This Answer Correct ?    0 Yes 1 No
Balamurugan
 
  Re: Can we have private constructor in our class file. When we are trying to create instance for the class will it create or throw error regarding that?
Answer
# 2
we can declare objects in csharp,
but we can not create any instance of this class ,
if we do so it will throw an exception;
 
Is This Answer Correct ?    1 Yes 1 No
Vijay Rana
 
 
 

 
 
 
Other C Sharp Interview Questions
 
  Question Asked @ Answers
 
What is the Difference between imperative and interrogative code? Wipro2
What C# keyword class access modifier specifies that the class is concrete and CANNOT be derived from?  1
Can you store multiple data types in System.Array?  4
How many catch blocks can be there for a single try block? HCL2
What?s the data provider name to connect to Access database?  4
What?s different about switch statements in C#?  2
How can i load the text box and label at the runtime based on the existing text box and tabel Merrill-Lynch1
what are advantages and disadvantages of Microsoft-provided data provider classes in ADO.NET?  1
what is serilization? Protech5
What does assert() do?  1
What is abstract class ? Digital-GlobalSoft2
why sturcture ? why class?why you prefer structure and in which cases u go for class? Microsoft1
What does the term immutable mean? Techno-Labs2
What is the difference between TypeOf, GetType and what are the uses of TypeOf, GetType. Siemens2
What?s the difference between the Debug class and Trace class?  1
Where CANNOT Destructors be implemented ?  1
Explain the three services model (three-tier application).  2
What is the difference between directcast and ctype? Wipro2
how can i return string by vilating duplicates(inpyt like asdfsda but output should be 2a2d2sf and 2a,2d,2s,f) Microsoft2
SqlCommand cmd = new SqlCommand(); using (cmd) {...} Referring to the above, what method is implicitly called at the end of the "using" statement? IBM1
 
For more C Sharp Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com