Sunday, November 24, 2019

Interview

11/23/19:

Interview:
- Arraylist add values
- Excel read values
- downloading file
- uploading file
- update Excel
- imp of maven other than adding dependencies
- imp testng and jun,rall time from two strings with time mentioned in it as strings in it.
- soapui..tell hw to test
- shell and python
- different error codes in services and
- use testng rather than run manager excel to control script execution
- plugins in eclipse

Friday, November 1, 2019

My Misconceptions on Java


  1. 1. To.make use of extended methods from a class and implement methods from interface , you need not always use 'extend' or 'implements' . A individual class can still use these methods by importing respective classes (For interface importing respective class that has implemented interface methods should suffice).
  2. DesiredCapabilities dc = DesiredCapabilities.chrome();   -- what does this do
  3. FruitClass a = new JamunClass();  ... This help to refer to methods of JamunClass with the help of object 
          Similarly we can use:
         Interfacename obj= new classname()
         This is generally used when some other class(used above code inside it) which has just imported the class that implements interface
4. UserClass a1 = new UserClass(FruitClass obj);  -- what does obj do here