Private Access Specifier | C++ Object Oriented Programming Video Tutorial

preview_player
Показать описание
In this cpp OOPS video lecture for beginners, you will learn about the usage of private access specifiers in classes with example.

You will learn how to use private as access specifier in classes, how to access a member and member function in your program in detail with example.

Learn Programming in HINDI at our youtube channel

Catch us on SocialMedia
Рекомендации по теме
Комментарии
Автор

Really clear, videos are just the right length to quickly learn the key point and move on. Thanks.

bryanmc
Автор

You explained the basics of Class better than two of my professors. Oh my god I am saved

harveillasap
Автор

Slowly I am getting confidence in oops, thanks so much for these videos

nrted
Автор

You explained it really well. I've been trying to understand it for days. Thanks to this video, I understood it.

darkaragorn
Автор

I'm watching the all OOP videos, and say, is verrry good! Thanks from Brazil!

fabricioramos
Автор

Highly recommded.. initially i was watching videos from different channel bt that was only theory part..you are explaining really well🔥

kavu
Автор

I love how you teach about using the private access specifier with a hushed voice especially with the age example :)

kigana
Автор

You are the Best i learnt so much from you in 2 days stuff which i couldn't understand over last 10 years .

agentstona
Автор

For your excellent representation of OOP topics, you just earned my subscription to your channel.

csembstu
Автор

You explained it really well. I have got much more knowledge. Thanks more keep it

MG
Автор

Really came across a long ago searching for this topic..

mohitbhriguvanshi
Автор

superb teaching ....i really like the way u clear every topic...thank you much...

rashmimkonnura
Автор

So nice video, Congratulation, you explain very well.

tinemabre
Автор

Very clear! Can I send you some exercises of my University so you can teach it in here?

Wananchasqo
Автор

very clear explanation - thanks for uploading!

olivermechling
Автор

Thank you sir your way of teaching is goood really

shozi
Автор

If we cant use properties or method of private access specifier then what is the use as you cant keep it private. It will bbe used in public access specifier. and indirectly in any function through public specifier

vivekbhadola
Автор

can we access private by defining public outside the class
gud video sir!!

srivinaytanniru
Автор

very nice video Speed the video into 1.25 times faster then you will thank me later

hariharanm
Автор

help me, i am getting the following errors for the following program;


#include<iostream>
using namespace std;

class classname{
private:
int age;


public:
void displayage(){
cout<< age<<endl;
}
void setage(int value){
age=value;
}
};

int main(){


classname object1;
object1.setage(24);
object1.displayage;
return 0;
}

main.cpp: In function ‘int main()’:
main.cpp:21:9: error: invalid use of non-static member function ‘void classname::displayage()’
object1.displayage;

jeranrai
join shbcf.ru