Pergunta de entrevista da empresa Tata Consultancy Services

can primary and foreign key be in the same table?