Encapsulation in C++ | C ++ Encapsulation kya hota hai | A2IT Online

preview_player
Показать описание
Encapsulation in C++ | C ++ Encapsulation kya hota hai | A2IT Online
नमस्कार दोस्तों , स्वागत है आपका हमारे चैनल A2IT Online में,
दोस्तों अगर आपको ये चैनल अच्छा लगता है तो इस चैनल को जरुर सबस्क्राइब कीजियेगा , और वीडियोस को like कीजिये , दोस्तों आप सभी का धन्यवाद

What is encapsulation in C++ with real life example?
What is encapsulation with example?
Where is encapsulation used in C++?
What is meant by encapsulation?
Why is encapsulation used?

Hello student welcome back to the next tutorial In this tutorial we have to see that how can we use the contact of encapsulation in the language of c plus plus that look at 150 gm first send app solution with big simple they Let's understand more from us and with a big practical way we will try to understand it One capsule is illuminated so let's start give you a little practical example from left you are working for National Aeronautics and Space Agency NASA and you You have to launch a space shuttle, you, along with the rest of the program, are trying to make a program by doing some calculations together with all the other mathematicians, let's sit with the mathematicians of NASA, you figured out a parameter of velocity. Let's find a value by which we will launch our shuttle initially, we have written a random number, there are some units here, beyond this we have to discuss that this is the parameter of voice city, how much is it important for us that you it will obey me that if we inch back some of this velocity plus fund - angdia anything we try to put chilli in it then that is not going to be very good idea because one is the value that we have to focus very carefully and use it have and even s multiple programs are working in this technology anand sen paste we don't want program are to do any accidental damage will never ever want to do never let us not let us not do this thing that's why we do this Will say that what it is, we have to do it, we have to subscribe to it, we have to do not use Bigg Boss, we have made this thing very carefully, we have understood it in beautiful C plus plus if you have any confusion you please that ours Also see the tutorial, here I was telling you that suppose we have a class or we have created a NASA class and in this we have given one parameter of velocity, in this parameter of velocity we have given value one 38.2 two so that the parameter is used only inside this class, anyone outside this class follow developer 20 able to accept the name directly we will encapsulatewritten a program for you, we will definitely see that program till now as you do with me in a tutorial you write that code please that prog You must write the ram, make it and try its changes lightly, see if it is broken when you are changing and then close it once and try to write that program again. actress modified and this is specified it is different like private public is protect is gift it is different specifies the point is that it can go further if it is then it will only be accessed inside the class outside of the class what nobody is basically doing but if it is public then it will be in it from outside if it has a child class If they have, then whatever is there in it, then here we are, it is yours which is ours. One is this she is representing Bigg Boss one we want her to go hydraulic, to hide it, we have written this inside private and the data you want to be access write public public my set is different The way you are using, you see below subscribing a little and below here, here we are here, we are making it there, we have covered the name of the previous class name as we will give you then after that
What is difference between encapsulation and abstraction?
What are the types of data encapsulation?
What is polymorphism in OOPs?
What is meant polymorphism?
What do you mean by abstraction in C++?
What is abstraction and encapsulation in C++?
What is inheritance in C++?
How is encapsulation implemented?
What is static polymorphism in C++?
What are the types of polymorphism?

Visit us for
whats app / Call us :+91 -7415151523, +91-7814141400

Free Download Educational App with Step-by-Step Guide To Learn or Teach in Smarter Way.

Disclaimer- Some contents are used for educational purpose under fair use. Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use.
Рекомендации по теме