SAP interview question

Technical: 1) Inspecting some java code, spot some bad coding practices 2) What does this java/javascript program output? 3) Asked me to code a program to reverse the words of a string in-place without external libraries. 4) SQL questions; what does this query output, why are there duplicates in this query, why do the following queries perform differently, etc. 5) Very general OOP questions. Behavioral: asked me what I was looking for, asked about my past experiences, asked what my past colleagues would say of me, asked what I would do if my boss made a mistake