Pregunta de entrevista de Infosys

Java,oops,what is primary key,foreign key