Explain the difference between member function,data member and Member
Answers
Answered by
0
◆ Member function :-
SOME COMMON MEMBER FUNCTIONS :-
1] System.io
2]System. in
3]System. out
◆ Data member function :-
1] void get()
2] void main()
3] Sqrt.text()
SOME COMMON MEMBER FUNCTIONS :-
1] System.io
2]System. in
3]System. out
◆ Data member function :-
1] void get()
2] void main()
3] Sqrt.text()
Answered by
0
Difference between member function,data member and member :
Explanation:
- Member function : The Member function states the function which is defined in any class or interface. for example "class abc{fun(){}}", holds one member function which name is "fun()".
- Data Member: when any variable is defined on the class or any interface then it is known by the data member.
- Member: The member is used to represent both data members and function members for any class.
Learn More :
- Class : https://brainly.in/question/8370545
Similar questions