What can go wrong if you refactor an interface? 1. If an interface becomes a published interface, the interface is being used by code that you cannot find and change. 2. Nothing! 3. In Java, interfaces cannot be refactored 4. The program performance decreases Which of the following classes suffers from the Middle Man bad smell? 1. A class that contains more methods than it should 2. A class that delegates many of its requests to another class 3. A class that only contains data A class that contains less method than it should
What can go wrong if you refactor an interface? 1. If an interface becomes a published interface, the interface is being used by code that you cannot find and change. 2. Nothing! 3. In Java, interfaces cannot be refactored 4. The program performance decreases Which of the following classes suffers from the Middle Man bad smell? 1. A class that contains more methods than it should 2. A class that delegates many of its requests to another class 3. A class that only contains data A class that contains less method than it should
Chapter11: Advanced Inheritance Concepts
Section: Chapter Questions
Problem 12PE
Related questions
Question
. What can go wrong if you refactor an interface?
1. If an interface becomes a published interface, the interface is being used by code that you cannot find and change. |
2. Nothing! |
3. In Java, interfaces cannot be refactored |
4. The program performance decreases |
Which of the following classes suffers from the Middle Man bad smell?
1. A class that contains more methods than it should |
2. A class that delegates many of its requests to another class |
3. A class that only contains data |
- A class that contains less method than it should
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps
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
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT