You are on page 1of 1

Written/Practical Interview Questionnaire Write a ThreadSafe program BankAccount and allow users to deposit and withdraw money.

. Using Google Guava write a program to cache 50 strings each to be expired in 1 min. Write Unix command to find out if a tomcat is running or not output the time when the process was started. What mechanism can we use to check this periodically? Consider a deck of playing cards . This deck has one card missing. Write a program to find the missing card. Give reasons for choice of data structures used. Give the solution that has least time complexity. Write Java program or Shell script to parse following XML file and output it in JSON format. <position> <title>Sr S/W Eng</title> <experience>1 2 years</experience> </position> Write a function in javascript to validate the email and phone number field. Write your view on advantage / disadvantage of extending a class in java- compare that with the mechanism of interface in java.

You might also like