Taro Logo

Senior Software Engineer - Java Developer Interview Experience - Bengaluru, India

July 1, 2018
Positive ExperienceNo Offer

Process

The interview process lasted for 2 hours.

It consisted of two technical rounds followed by an HR round.

I was able to clear the first round but did not clear the second.

I have mentioned the questions asked.

I hope this will be helpful.

Questions

1st Technical Round:

  1. Method overriding rules?

  2. Output?

    • // classes will compile fine bcos both r throwing run time exceptions
    • class TestOverride {
    • void solution() throws NullPointerException {
      
    •     System.out.println("super");
      
    • }
      
    • }
    • class TestSubOverride extends TestOverride {
    • void solution() throws RuntimeException {
      
    •     System.out.println("sub");
      
    • }
      
    • }
  3. Given array {4,5,6,1,2,4}; how do you search for a particular element (e.g., 1)?

    • Ans: He was looking for the best search algorithm – the answer is binary search algorithm.
  4. Consider I have huge data which is stored randomly; which data structure is best for retrieval with a performance of O(1)?

    • Ans: Hashmap because of performance O(1) always.
  5. Write a code to delete a node from a LinkedList.

  6. Write a simple code for Threading.

  7. What is the difference between Callable and Runnable?

  8. What is a functional interface?

  9. Why should a functional interface have only one abstract method, why not more than one?

  10. When do we use lambda expressions?

  11. What is the difference between IOC and Dependency Injection?

  12. Why do we need Dependency Injection?

  13. Scopes of bean in Spring?

2nd Technical Round:

  1. Why is Java so popular? (In-depth answer)

  2. Given a name, write code to print all combinations using that.

  3. Given arrays, {1,2,3,4,5,6,7,8} and {4,1,2,5,1,2,3,4,5,6,7,8}, at any given position, how do you find out if the array is sorted or not? (Circular sorting)

Was this helpful?

Interview Statistics

The following metrics were computed from 1 interview experience for the Oracle Senior Software Engineer - Java Developer role in Bengaluru, Karnataka.

Success Rate

0%
Pass Rate

Oracle's interview process for their Senior Software Engineer - Java Developer roles in Bengaluru, Karnataka is extremely selective, failing the vast majority of engineers.

Experience Rating

Positive100%
Neutral0%
Negative0%

Candidates reported having very good feelings for Oracle's Senior Software Engineer - Java Developer interview process in Bengaluru, Karnataka.

Oracle Work Experiences