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:
Referring to the sample code above, how do you declare
a numbers object called "A" and assign its "I" member the value "2"?
class numbers {
int I;
public:
void set(int v) {I = v;}
int read() {return I;}
} ;
Referring to the sample code above, how do you declare
a numbers object called "A" and assign its "I" member the value "2"?
1) A : numbers;
A.set(2);
2) numbers set(2);
numbers A;
3) numbers A;
set(2);
4) A.set(2), B.set(3), C.set(5);
numbers A, B, C;
5) numbers A;
A.set(2);
✍: Guest
2012-05-01, 3374👍, 0💬
Popular Posts:
Can we have shared events ? Yes, you can have shared event’s note only shared methods can raise shar...
Is Session_End event supported in all session modes ? Session_End event occurs only in “Inproc mode”...
What Is a TD Tag/Element? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells A "td" elemen...
How To Create an Add-to-Bloglines Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS News...
What will be printed as the result of the operation below: main() { int x=10, y=15; x = x++; y = ++y...