Tag: programming languages

Questions Related to programming languages

  1. a) NULL

  2. b) Empty Object

  3. c) unrecoverable exception

  4. d) None of the above


Correct Option: C
  1. a) Run with root user

  2. b) Run with &

  3. c) Run with root user using &

  4. d) None


Correct Option: D
  1. Required

  2. b) Not Required

  3. c) None of the above

  4. All of the above


Correct Option: B
  1. a) a) controls how a particular SessionFactory interacts with the Data Base.

  2. b) controls how a particular SessionFactory interacts with the second-level cache.

  3. c) controls how a particular session interacts with the second-level cache.

  4. d) None


Correct Option: C
  1. a) They never releases the memory utilized

  2. b) They release the memory but kernel does not use them

  3. c) Since they are running

  4. d) It’s a false statement


Correct Option: B
  1. a) Query.list()

  2. b) Query.iterate()

  3. c) Both are same

  4. d) None of the above


Correct Option: A
  1. a) select() and poll() have no differences

  2. b) poll() is event driven while select() is not

  3. c) select() is event driven while poll() is not

  4. d) None


Correct Option: B
  1. a) remove data from in memory

  2. b) remove from database.

  3. c) remove from sessionFactory

  4. d) None of the above.


Correct Option: B
  1. a) Use filelock()

  2. b) use lockfile()

  3. c) Use lockfd()

  4. d) use fcntl()


Correct Option: D
  1. a) By using the mutable="false" attribute in the class mapping.

  2. b) By using the ismutable="false" attribute in the class mapping.

  3. c) By using the ismutable="no" attribute in the class mapping.

  4. d) None


Correct Option: A