How many types of access specifier in c# and vb.net?
Answer / vignesh
The access-specifiers available in C# are:
Public, Protected, Protected internal & Private
The access-specifiers available in Vb.net are:
Public, Private, Protected, Friend & ProtectedFriend
| Is This Answer Correct ? | 9 Yes | 2 No |
i had specified the access specifier for abstarct class member like (pure virtual function) as private.But it can be accessed by the derived class.How the private member of one class is accessed by other class.if any body face this problem and found the solution plz reply to me.
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
Why do while loop is used?
What is the differances between a abstract calss and interface
What is the full form of oops?
What is command routing in MFC
Program to read a comment string
What is a class and object?
what is runtime polymorphism? For the 5 marks.
Why do we need polymorphism in c#?
What is difference between polymorphism and inheritance?
which structured data type is not used in c++? 1.union 2.structure 3.string 4.boolean