Multiple choice technology programming languages

1.LibA contains an object ObjA. LibB does not have objA. A programmer wants LibB also should have the same object ObjA. Which of the following can be done to achieve this?

  1. Only MOVOBJ

  2. Only CRTDUPOBJ

  3. MOVOBJ or CRTDUPOBJ

  4. MOVOBJ or CPYOBJ or CRTDUPOBJ

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In AS/400, both MOVOBJ (Move Object) and CRTDUPOBJ (Create Duplicate Object) can be used to copy an object from one library to another. MOVOBJ moves the object to a different library, while CRTDUPOBJ creates a duplicate copy in the target library. CPYOBJ (option D) is not a standard AS/400 command - the correct command for copying is CRTDUPOBJ. Option C is correct.