Answer:
D. 7
Step-by-step explanation:
The number of ways to select x objects from a group of n can be calculated using combinations as
![nCx=(n!)/(x!(n-x)!)](https://img.qammunity.org/2023/formulas/mathematics/college/77wrouprl77h4jnxzw38nvfhbpll6l8ixn.png)
There are 7 apples in the bag and we want to select 6. Then, we can calculate the number of ways as
![7C6=(7!)/(6!(7-6)!)=(7!)/(6!\cdot1!)=(7\cdot6!)/(6!)=7](https://img.qammunity.org/2023/formulas/mathematics/college/9v4su4fro1oil75rhqfssymar3x803wzlf.png)
Therefore, the answer is
D. 7