Added: 2 years ago
From: javavids
Views: 36,360
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (24)

Sign In or Sign Up now to post a comment!
  • Very good and clear explanation

  • Mam Your Energy for teaching is WOW... Great Teacher.

  • Comment removed

  • the problem with java teachers is they use to many big words.. lol. Constructor shmuctor

  • 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???

  • 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?

  • Comment removed

  • wrong... Heap contains objects and stack contains variables.. u have drawn wrongly...

  • @rupreetsoni

    I believe that's what she drew on the board..#idiot

  • @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.

  • your way of teaching is highly helpful to the learners.

  • WHERE IS THE ENCAPSULATION EXPLANATION?!?!?!?!

  • Thanks Great video.

  • it is one of the best leacture ....pls add more video it will help a lot to all computer science student..pls..................­......

  • 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.

  • thanks

  • 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 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()

  • @nayansoni21

    absolutely rite..where is encapsulation explained in all this..

  • @debiprasannapati

    She explained encapsulation in OOPs CONCEPTS.. This video is a continuation of that lecture.

  • Great video. Thank you.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more