Veeva Systems Interview Question

Java: Basics, like String vs string buffer. Write a program to detect similar characters if any. For data structure: showing three tables and asking some basic question about it like what is primary key in each table, why there is an interface table between the other two and so on. and lastly he showed a shell script and asked me to describe it.