Friday, December 7, 2018

REFLECTION OF 29-11-2018

Hello dear people, its me again meeting you guys. As always hope you guys doing really really well there !! This week's lab is about "Methods". A method is a collection of statements that are grouped together to perform an operation. We could able to do three main things at the end of this lab which are to define and invoke various types of methods, to develop reusable code that modular, easy to read, easy to debug and easy to maintain and the last one to apply the concept of method abstraction and step-wise refinement in software development.

In this week class we have been thought about the subtopic of "overloading" by our lecturer Dr.Erzam. Firstly, let me explain what I have understand from the above topic. Method overloading is a feature that allows a class to have more than one method having the same name, if their argument lists are different. It is similar to constructor overloading in Java, that allows a class to have more than one constructor having different argument lists.

There are three types of method overloading:
  1. Number of parameters
  2. Data type of parameters
  3. Sequence of data type of parameter
We have been given 5 questions for this lab and I'll share with you guys the questions and answers once I have completed it. That's all from me for this week guys, have a happy weekend! Take care ❤❣❤

THANK YOU FOR READING !!!


Pritah D/O Subramaniam (185797)


Next blog : yanhua0112.blogspot.com 

No comments:

Post a Comment