Which code segment should you use?

You are developing an application that will processorders. The debug and release versions of the
application will display different logo images.
You need to ensure that the correct image path is set based on the build configuration.
Which code segment should you use?

You are developing an application that will processorders. The debug and release versions of the
application will display different logo images.
You need to ensure that the correct image path is set based on the build configuration.
Which code segment should you use?

A.
Option A

B.
Option B

C.
Option C

D.
Option D



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Bazzy

Bazzy

Based on question there is only two configurations. So “A” is also coorrect answer.

DJOK

DJOK

It is C, because there is no RELEASE constant defined by default (only DEBUG and TRACE). Unless you defined such