# Learn English – “Have this been” or “Had this been” provided

grammaticalitytenses

Which of the following sentences is grammatically correct?

Had this been a solution that can be provided in Java 5 and above, the overloaded replace(charSequence, charSequence) may be used.

Have this been a solution that can be provided in Java 5 and above, the overloaded replace(charSequence, charSequence) may be used.