This interview conducted for a permanent position on 24 Nov 2018 at ness technologies Bangalore. Here are the questions which have asked in the first round. All questions are based on memory. You may not be asked the same questions again, but you will get an overview.
- Tell me about yourself?
- How hashmap internally work?
- Can we have the duplicate key in hashmap?
- Write a program to reverse a string(each word). For example, if the input is ram is a good boy then out should mar si a doog yob.
- Suppose we have an array 010101010101010101, write a program which prints 000000000 111111111.
- missing number from 1 to 100.
- What is the difference between comparable and comparator? when we will use comparabe and when we will use comparator?
- Singleton design pattern. eager and lazy singleton.
- Difference between RestController and Controller.
- Use of ResponseBody.