Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Can Non-Default constructors be used with Single Call SAO?
.NET INTERVIEW QUESTIONS - Can Non-Default constructors be used with Single Call SAO?
✍: Guest
Non-Default constructors can not be used with single call objects as object is created with every method call, there is no way to define Non-default constructors in method
calls.
It is possible to use Non-Default constructor with Client activated objects as both methods :-
“NEW” keyword and “Activator.CreateInstance” provide a way to specify Non-Default constructors.
2009-09-01, 4386👍, 0💬
Popular Posts:
In below sample code if we create a object of class2 which constructor will fire first? Public Class...
How can you write a loop indefinitely? Two examples are listed in the following code: for(;;) { ... ...
How can JavaScript make a Web site easier to use? That is, are there certain JavaScript techniques t...
What is the difference between mysql_fetch_object() and mysql_fetch_array() functions in PHP? mysql_...
How To Write a Query with a Right Outer Join? - Oracle DBA FAQ - Understanding SQL SELECT Query Stat...