Pregunta de entrevista de AppViewX

1)Write a code for the first repeating character in a string. 2) What is Arp protocol? 3) Explain about router and switch? 4) What is jdk,jre,jvm?