Tag: programming languages
Questions Related to programming languages
-
Use Abstract class
-
Use Private Constructor
-
Both of the above
-
Use Sealed class
-
No difference
-
S.ToString() handles null values
-
Convert.ToString(S) handles null values
-
I don't know.
-
Yes, but the actual collection is not deterministic
-
No.
-
Yes, and the actual collection is deterministic
-
I don't know.
-
Yes
-
No
-
May be
-
I don't know
-
Public Inheritance
-
Protected Inheritance
-
Private Inheritance
-
Virtual Inheritance
-
new operator cannot be overloaded
-
void *operator new(size_t,int);
-
void operator new;
-
void *operator new;
-
nothing wrong will complie fine.
-
class cannot inherit from struct
-
struct cannot inherit from class
-
struct cannot have constructor