What are the scope of the class?



What are the scope of the class?..

Answer / Awanish Kumar Dwivedi

In Visual Basic, a class can have three scopes: Public (accessible from anywhere), Private (only accessible within the module or class), and Protected (accessible within the module, its derived classes, and modules within the same project).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Visual Basic Interview Questions

Is Visual Basic case sensitive in general?

3 Answers  


CONNECTIVITY OF SQL 2000 + VB USING ODBC. steps i Follow- 1) Go to Control panel-->Admintrative Tools-->Double -click Data sources(ODBC)-->click Add button-->I choose SQL server (last option), Is it right or wrong option for connecting to SQL 2000.Then a new screen appears Create a New dataSource-->in name textbox,we can write anyname--Right or wrong. suppose i enter sonia, & my server name is .,so I enter . in server & click next button-->On the Next screen i have checked the option With Sql server authentication-- >Login Id-sa, Password-->Blank-->Click next button-->Next-- >Finish-->Then I click on button Test Data source-->Mesage Comes TESTS COMPLETED SUCCESSFULLY-->OK-->OK-->Ok. These steps we have to do or not for Connectivity using ODBC. If yes,then what after these steps we have to do??Plz reply me early ??Thx in advance.

6 Answers  


How would you attach an ActiveX control in Your Application?

1 Answers  


How can you save and Get data from Clipboard?

1 Answers  


Through which protocol OLEDB components are interfaced?

1 Answers  


What is rdo in vb?

1 Answers  


what are the Differences between variables defined as public in a standard module (.bas) file and a Class file?

2 Answers   CTS, Technocrats,


What is the use of Data Form Wizard?

1 Answers  


Difference between Class Module and Standard Module?

1 Answers  


How do I create controls dynamically (at run-time)?

1 Answers  


Is visual basic easy?

1 Answers  


How to check the condition in Msgbox?

3 Answers  


Categories