Author Archives: varuna

What’s new for me in 2016

Yay 2016 was a year for me which had many first times and new things for me. A first solo traveler to another country. First time tried Salmon a fish. Got my hands dirty in Baking. Learned to search for … Continue reading

Posted in Uncategorized | Leave a comment

Automation coverage Is it 100%?

What made me write this blogpost is question in 2016 which I had to face n no of times wrt more in automation coverage.How to build up the client confidence during transition or even during releases. We were working for one … Continue reading

Posted in automation, test coverage | Leave a comment

Abstract keyword

Abstract Class : Must be Extended Abstract Method : Must be Overridden an abstract method has no body. We can’t have an abstract method in a non abstract class Abstract class can have both abstract and non abstract method We … Continue reading

Posted in java | Tagged | Leave a comment

Method Overloading v/s Method Overridinng

Overriding : Same return type and no of arguments of method The argument list should be exactly the same as that of the overridden method. The return type should be the same or a subtype of the return type declared … Continue reading

Posted in java | Leave a comment

Inheritance v/s Composition

IS -A : House is a BuildingHAS-A : House has a Room. Inheritance : Uni-Directional Composition : Using instance variable that refer to other objects.

Posted in java | Leave a comment

JAVA keywords

Protected :  Only to classes in same package or sub classes of that class. Abstract : Used to declare a class that can’t be instantiated or a method must be implemented by a non abstract modifier. Extends : for inheritance … Continue reading

Posted in java | Leave a comment

Why static method cannot access non static variables

public class StaticTest {     private int count=0;    public static void main(String args[]) throws IOException {        count++; //compiler error: non-static variable count cannot be referenced from a static context    } } Static variable in Java … Continue reading

Posted in java | Leave a comment