diff between instance and static variable

bubby46 Default Asked on October 14, 2015 in Selenium WebDriver.
Add Comment
1 Answer(s)

static variable you can get out of class using class name

MyClass.variable

instance var only by object
MyClass obj = new MyClass();
obj.variable

victor Reviewer Answered on October 16, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.