Discuss the below:
Q: In visual basic.NET, what makes up a component? What are the advantages of components? In addition, what are the types of class data and how do you decide which is appropriate? Explain the difference between declaring a variable using the keyword Public, Friend, or Private.