Home »
MCQs »
TestNG MCQs
Based on the '____' principle, dependencies work only when they are in the same class or in the inherited base class
18. Based on the '____' principle, dependencies work only when they are in the same class or in the inherited base class.
- No-depend-method
- Depend-on-method
- Depend-to-method
- None-depend-method
Answer: B) Depend-on-method
Explanation:
Based on the 'depend-on-method' principle, dependencies work only when they are in the same class or in the inherited base class.