THERE ARE NO ENCAPSULATION HERE. ENCAPSULATION IS SIMPLY MAKING THE FIELDS/VARIABLES PRIVATE. AND WHEN U USE THE OBJECT IN ANOTHER CLASS, U WONT BE ABLE TO ACCESS THE VARIABLES. SO U SIMPLY USE THE PUBLIC METHOD GET AND SET TO ACCESS THEM OR PASS VALUES TO THEM
@TheSoftwareFuture the Videos aren´t complete here. They have been chopped randomly I guess, still very useful and conceptual. Even if the title is Encapsulation, this covers the basics of constructors.
So when I instantiate an object a1, how does the memory look like?
From what she said: 'stack' should have 2 bytes with a1 written in, and then next n (how many?) bytes that contain the memory address pointing somewhere at 'heap' where the actual a1 object is located?
check out the video again, she says "this variable will be in the stack memory and the object in the heap and variable a1 will be pointing to the heap memory", it is because classes are reference types.
The definition of a instance variable 1.52 is incorrect. It cannot be said if the variable is a instance , class or a local variable without further context as to where the variable is declared.
The video topic says "Encapsulation". Where the hell in this video of 6 mins is explained the concept of Encapsulation.. Please stick to your topic and post the videos...
Very good and clear explanation
sathishlm 2 weeks ago
Mam Your Energy for teaching is WOW... Great Teacher.
macbangalore100 2 months ago
Comment removed
DADA15691 2 months ago
This has been flagged as spam show
i love this bitch!
DeLL116 3 months ago
the problem with java teachers is they use to many big words.. lol. Constructor shmuctor
2112mbell 5 months ago
It is really helpfull, amazing.
I like it, thanks a lot.
keep posting more videos.
Some times I get confused and I don´t know when to use constructors, structors or interfaces because its functionalities seems to be the same.
Can some one help me please???
bhunnymusic 6 months ago
THERE ARE NO ENCAPSULATION HERE. ENCAPSULATION IS SIMPLY MAKING THE FIELDS/VARIABLES PRIVATE. AND WHEN U USE THE OBJECT IN ANOTHER CLASS, U WONT BE ABLE TO ACCESS THE VARIABLES. SO U SIMPLY USE THE PUBLIC METHOD GET AND SET TO ACCESS THEM OR PASS VALUES TO THEM
TheSoftwareFuture 6 months ago 2
@TheSoftwareFuture the Videos aren´t complete here. They have been chopped randomly I guess, still very useful and conceptual. Even if the title is Encapsulation, this covers the basics of constructors.
i7rs 6 months ago
So when I instantiate an object a1, how does the memory look like?
From what she said: 'stack' should have 2 bytes with a1 written in, and then next n (how many?) bytes that contain the memory address pointing somewhere at 'heap' where the actual a1 object is located?
cronnin 7 months ago
Comment removed
pratikjaiswalify 8 months ago
wrong... Heap contains objects and stack contains variables.. u have drawn wrongly...
rupreetsoni 8 months ago
@rupreetsoni
I believe that's what she drew on the board..#idiot
SkitSophrenia 7 months ago
@rupreetsoni
check out the video again, she says "this variable will be in the stack memory and the object in the heap and variable a1 will be pointing to the heap memory", it is because classes are reference types.
bhunnymusic 6 months ago
your way of teaching is highly helpful to the learners.
gjkumar1986 11 months ago
WHERE IS THE ENCAPSULATION EXPLANATION?!?!?!?!
Gilster85 11 months ago
Thanks Great video.
javed4401 11 months ago
it is one of the best leacture ....pls add more video it will help a lot to all computer science student..pls........................
abi839 1 year ago
The definition of a instance variable 1.52 is incorrect. It cannot be said if the variable is a instance , class or a local variable without further context as to where the variable is declared.
slr150 1 year ago
thanks
gmatheswaran 1 year ago
The video topic says "Encapsulation". Where the hell in this video of 6 mins is explained the concept of Encapsulation.. Please stick to your topic and post the videos...
nayansoni21 1 year ago
@nayansoni21 encapsulation is the act of keeping methods/variables inside sets of braces.
for example: a class's opening/closing braces HOUSE other loops/methods/constructors' braces, etc, etc.
This is how and why we can referance a public class's public variable via the format CLASS OBJECT INSTANCE VARIABLE . VARIABLE NAME OR METHOD()
megametalpriest 1 year ago
@nayansoni21
absolutely rite..where is encapsulation explained in all this..
debiprasannapati 1 year ago
@debiprasannapati
She explained encapsulation in OOPs CONCEPTS.. This video is a continuation of that lecture.
drharlow 1 year ago
Great video. Thank you.
spocek 1 year ago