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, 4654👍, 0💬
Popular Posts:
How To Export Data to a CSV File? - Oracle DBA FAQ - Introduction to Oracle SQL Developer If you wan...
How To Run a JUnit Test Class? A JUnit test class usually contains a number of test methods. You can...
What is shadowing ? When two elements in a program have same name, one of them can hide and shadow t...
What's wrong with this initialization? char *p = malloc(10); My compiler is complaining about an ``i...
What Happens to Indexes If You Drop a Table? - Oracle DBA FAQ - Managing Oracle Table Indexes If you...