Cognizant Interview Question

Self Intro Diff btw primary Key and foreign key Inheritance Interface why cognizant