What is the difference between a property a method and an
event? Give an example of each.

Answer Posted / sk sultan ahmad

A Property is a way to expose an internal data element of a class in a simple manner.
Method is a block of code that contain a series of statement.
Event are programming construct use to pass notification back from one class.

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you make a TEXTBOX read only? Or, how do I prevent the user from changing the text in a TEXTBOX?

936


Is it possible to change menu runtime using API? If yes Specify the function names?

1453


How would you add column headers in listview control?

1637


what are the Default cursor Type and LockEdit type in DAO?

1718


How many ways you can access file using VB?

564






Explain about an event-driven programming language?

530


Difference between DDE and OLE.

2767


How do I speed up control property access?

1004


How many File System Controls are there Explain?

1521


How to get freefile location in memory?

2077


What are the Internet tools available in VB 6.0?

2386


what are the Differences between Recordset and Resultsets?

1993


What is ActiveX Dll and ActiveX Exe?

1724


How can you get selected file from file system Control?

1530


How many File System Controls are there ? Explain.

1554