Hii Guys......!
Ans my questions.............
1.Difference between user defined and compiler defined function.
2.How one object is different from another object in a class?
3.Concept of encapsulation and abstraction relating
with user defined function.
Answers
Answer:
Explanation:
1- User defined functions are functions that you as a programmer write from scratch and tell it how to manipulate data while compiler defined ones are there automatically and are there just to help you in your programming
2- That is because objects are different instances of a class. you can think of them as a screenshot. so, they may differ evertime you create the object with different parameter or variable.
3- encapsulation is the method of hiding data from the user / outside world
abstraction is the method of declaring functions without actually initalizing them so as hide the implementations from other users, even programmemrs
I tried to help you the best i could. hope it helps :)
Answer:
huge\boxed{\mathfrak{\red{\fcolorbox{ < /strong > < strong > b < /strong > < strong > l < /strong > < strong > u < /strong > < strong > e < /strong > < strong > }{ < /strong > < strong > y < /strong > < strong > e < /strong > < strong > l < /strong > < strong > l < /strong > < strong > o < /strong > < strong > w < /strong > < strong > }{ H < /strong > < strong > o < /strong > < strong > p < /strong > < strong > e < /strong > < strong > < /strong > < strong > \: < /strong > < strong > i < /strong > < strong > t < /strong > < strong > \: < /strong > < strong > < /strong > < strong > h < /strong > < strong > e < /strong > < strong > l < /strong > < strong > p < /strong > < strong > s < /strong > < strong > < /strong > < strong > \ < /strong > < strong > : < /strong > < strong > < /strong > < strong > y < /strong > < strong > o < /strong > < strong > u < /strong > < strong > }}}}
Anyone on ?