In OOP, what can you say about a method that requires a lot of parameters? Having methods with long parameter list is the norm in OOP. Sign of high modularity. The method is doing a critical task, which explains why it needs all these parameters. Probably the method is in the wrong class as the method is using a lot of inputs from the outside.
In OOP, what can you say about a method that requires a lot of parameters? Having methods with long parameter list is the norm in OOP. Sign of high modularity. The method is doing a critical task, which explains why it needs all these parameters. Probably the method is in the wrong class as the method is using a lot of inputs from the outside.
Chapter10: Introduction To Inheritance
Section: Chapter Questions
Problem 19RQ
Related questions
Question
In OOP, what can you say about a method that requires a lot of parameters?
Having methods with long parameter list is the norm in OOP.
Sign of high modularity.
The method is doing a critical task, which explains why it needs all these parameters.
Probably the method is in the wrong class as the method is using a lot of inputs from the outside.
AI-Generated Solution
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
Unlock instant AI solutions
Tap the button
to generate a solution
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr