Method getValue of ValueProvider class returns Optional<String> result.
class ValueProvider {
public Optional<String> getValue() {
// hidden code
}
}
Write a code in the Main class that prints the returning value of the provider.getValue if it is not null.