What programming languages are used to create chatbots?

I am new to programming and development. I was planning to learn Java and Python. Also i have interest in Chatbot development. Can anyone tell me what are the best languages required for chatbot development? I am planning to attend an interview at a chatbot development services company as an intern and I would like to know a few things about bot development.