I have a few classes. I would like to point out this:
`BaseDAO` class that implements `Queryable` and `Parcelable` interfaces. 
There are a few subclasses of Base one and I would like to call method 

```
public static ResultSet getDataFor(Queryable queryable) throws SQLException {
    Statement statement = con.createStatement();
    return statement.executeQuery(queryable.getSelectAllQuery());
}

```

universally, two lines for all subs of Base.

But right now the call looks ugly like `getDataFor(new Program())` or with a different class.

So basically, my question is is there a better way to implement this behaviour without calling with a new instance.
I wanted to keep this as laconic as possible so feel free to ask questions