Instance variable is a variable which declared inside the class but outside any function. Instance method is a method which declared inside the class but outside any function. In below example we can see that we have crated on class called Student ...

Markdown supported · ⌘↵ to post
No responses yet.