php mcq questions with answers


                                
Find any errors in the following BankAccount constructor: Public int BankAccount() { balance = 0; }
A. Name
B. Formal parameters
C. Return type
D. No errors
                                
In the body of a method, C# uses the variable named_____to refer to the current object whose method is being invoked
A. call
B. this
C. do
D. that
                                
String mystring; Creates a(n)
A. class
B. Constructor
C. Object
D. a and b
                                
An Event is ________.
A. The result of a users action
B. result of a party
C. code to force users action
                                
A delegate defines _________.
A. a Wahsington representative
B. a class that encapsulates methods
C. a means of passing arrays into methods
D. a substitue for an inherited method