If we declare the Base class as static and methods we can directly call those method with class name itself. And by extending the base class to hook class.
@rdautomationlearning6092 ай бұрын
@@syeddanish4910 correct
@bruce_xiao2 ай бұрын
i think it is the grammar of java,because of it belong to the Object language,right?
@saikalyanimmaneni42252 ай бұрын
you can use extends keyword to inherit from Base class.
@PVRajeshMagham2 ай бұрын
we can use extends keyword in Hooks it will inherits all the methods, variables and etc., from parent class(Base)
@vinodkumarp89782 ай бұрын
As per my knowledge we can not use extends in Hooks
@bruce_xiao2 ай бұрын
so could you give me more exact information about the Hooks? thanks
@vamsikuna72732 ай бұрын
If we declare the Base class as static and methods we can directly access to the those methods with class name itself as. And by extending the base class to hook class.
@suriyapraba-vw2cn2 ай бұрын
Thanks 🎉
@paraschaudhary9341Ай бұрын
We can extend the base class in hooks after initializing hooks class like this... Public class Hooks extend Base
@vaishalibhanage85042 ай бұрын
By using inheritance we can remove those errors.. Extend that class to Base class
@puramchiranjeevi55732 ай бұрын
create an instance for an base class
@rdautomationlearning6092 ай бұрын
@@puramchiranjeevi5573 correct
@bruce_xiao2 ай бұрын
why should i need to instance fir the base class?
@MaddyIndia2 ай бұрын
What is the object repository?
@MaddyIndia2 ай бұрын
Extend the Base class, simple :)
@Rishabhmishra4292 ай бұрын
Implicitly wait concept She has not given the right answer.