Tag: programming languages

Questions Related to programming languages

  1. CPYF copies the records of one logical file to another but changes the file attribute to PF.

  2. CRTDUPOBJ copies the records of one logical file to another but retains the file attribute as LF.

  3. All of the above

  4. None of the above.


Correct Option: B

instanceof operator can take a class, an interface or an array type as an argument

  1. True

  2. False


Correct Option: A
  1. Observations =2 and Salary = 45000 at both observations

  2. Observations = 2 and Salary = 45000 at first and Salary =. at second observation

  3. Observation = 1 and Salary = 45000

  4. Error


Correct Option: A