PrepAway - Latest Free Exam Questions & Answers

which code snippet represents the correct way to load resources and prepare the class for operation when using

Given a class called MyAdaptor that implements IAdaptor or extends an existing class that
implements IAdaptor, which code snippet represents the correct way to load resources and
prepare the class for operation when using the IAdaptor interface?

PrepAway - Latest Free Exam Questions & Answers

A.
public class MyAdaptor extends datasource.prop.PropertiesData-SourceAdaptor public
MyAdaptor() { // Initialization code goes
here }}

B.
public class MyAdaptor extends ItemValidator implements IStringValidator { public void
init(IAdaptorConfiguration adaptor) throws
AdaptorException {
// Initialization code goes here
}

C.
public class MyAdaptor extends datasource.prop.PropertiesData-SourceAdaptor public
MyAdaptor(IAdaptorConfiguration
iAdaptorConfiguration) { // Initialization code goes here }}

D.
public class MyAdaptor extends ItemValidator implements IStringValidator { public void
prepareAdaptor(IAdaptorConfiguration
adaptor) throws AdaptorException {
// Initialization code goes here
}


Leave a Reply