Constituents
Learn what constitutes a method.
We'll cover the following
There are four things that constitute a method:
- A name
- A block of code
- Accepting input (optional)
- Returning output
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy