Summary

We started off by discussing the difference between strings and variables, and how they appear in a code. We then saw what methods are and how can they be used to write our code. After that, we discussed the importance of classes and objects, and how they are used to call methods that execute a class. We learned how to allocate memory to an object and call the method of that object while executing the code.Finally, we learned how to access a method that is present in another class using objects.

In the next chapter we will learn more about strings and have a look at the String class.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.227.69