- What is abstraction and encapsulation in java? (solution)
- If we didn't declare any exception in super class then in subclass can we declare any checked/custom exception.(solution)
- Can I have only try block in code? (solution)
- Why wait(), notify() and notifyAll() are defined in Object class? (solution)
- Can we override wait() or notify() methods? (solution)
- Difference between wait(), sleep() and yield()? (solution)
- What is the purpose of join()? (solution)
- Explain Singleton design pattern.
- Write a program to swap two numbers with out using third variable?
- Write a program to sort an array and remove duplicates? (solution)
- I have two arrays which contains integer. Write a program to merge those two arrays and remove duplicate elements? At the end, I need one array which should have unique elements?
- Write a program to print Fibonacci series? (solution)
- There is an array [1,2,5,4,8,3] and sum = 7. Find all the sub set array such that sum of elements is 7. e.g [1+2+4]=7, [2+5]=7, [4+3]=7.
- Find a number between 1 and 100, that generates longest series using following rules:if n is odd, next n = 3n + 1. If n is even, next n = n/2 and if n == 1, terminate.
- Write a code to reverse a string recursively. (solution)
- Find the 3rd last node from a linkedlist.(solution)
- Explain the internal implementation of HashMap.(solution)
- Difference between Vector and ArrayList?(solution)
- Can I declare class as static?
- Can I declare class as private?
- How to make a class as immutable. (solution)
- What happens if I write return in try block? Will finally executes? (solution)
- What happens if write system.exit(), will finally block executes? (solution)
- Write a SQL query to find highest number from the table.
- Given Binary tree. Find whether its BST (solution)
- What is the purpose of @Qualifier. (solution)
- What is the difference between @RestController and @Controller. (solution)
- Can I use Yaml file instead of application.properties.(solution)
- How can we read configurations from properties files.(solution)
- Can we have multiple pom.xml's? How can we configure it?
- How can we configure Swagger in a Spring Boot Project?
- What is API Gateway? (solution)
- Explain the steps for versioning the web-services?
- Types of Git merge strategies.
August 03, 2019
Oracle Interview Questions
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment