Skip To Main Content

And Answers — Capgemini Questions

A Primary Key uniquely identifies a record within its own table and cannot contain null values. A Foreign Key is a field in one table that links to the Primary Key in another table, establishing a relationship between them.

Answer:

Stack is for static, fast LIFO allocation; Heap is for dynamic, larger, manual allocation [7, 5.7]. "Why are Strings immutable in Java?" capgemini questions and answers

Close

A Primary Key uniquely identifies a record within its own table and cannot contain null values. A Foreign Key is a field in one table that links to the Primary Key in another table, establishing a relationship between them.

Answer:

Stack is for static, fast LIFO allocation; Heap is for dynamic, larger, manual allocation [7, 5.7]. "Why are Strings immutable in Java?"