Oracle
10+ Skylimit Creations Interview Questions and Answers
Q1. 1. List and Arraylist Differences 2. What happens when element with same key is added into HashMap 3.Spring boot beans and how we can avoid bean instantiation 4.Profile annotation in spring 5.what are the confi...
read moreExplanation of differences between List and ArrayList, HashMap behavior with same key, Spring boot beans, Profile annotation in Spring, database configurations in pom.xml, and data structures.
List is an interface while ArrayList is a class that implements List interface
HashMap replaces the old value with the new value if the same key is added
Spring boot beans can be avoided by using @Lazy annotation
Profile annotation in Spring allows defining different configurations for diff...read more
Q2. Programs: 1. Write program to return list of duplicate integer using int array 2. Write program to return square of integers in ascending order input:[-4,0,3,5] output:[0,9,16,25]
Program to return square of integers in ascending order from input array
Iterate through the input array and calculate the square of each integer
Store the squares in a new array and sort it in ascending order
Return the sorted array of squares
Q3. Advantage disadvantage of monolith and microservices
Monolith has simplicity but lacks scalability, while microservices offer flexibility but introduce complexity.
Monolith: Simplicity in development and deployment, easier to debug and test
Monolith: Lack of scalability, all components tightly coupled
Microservices: Flexibility to use different technologies for different services
Microservices: Scalability, each service can be independently scaled
Microservices: Increased complexity in managing multiple services and communication be...read more
Q4. Find second highest vowel occurance in a string
Find the second highest occurrence of a vowel in a string.
Iterate through the string and count the occurrences of each vowel (a, e, i, o, u).
Store the counts in an array and find the second highest count.
Return the vowel with the second highest count.
Q5. count no of links in as web page
To count the number of links on a web page, you can use a web scraping tool or inspect the page's HTML code.
Use a web scraping tool like BeautifulSoup or Selenium to extract all the links from the webpage.
Inspect the HTML code of the webpage and look for anchor tags (<a>) which contain the links.
Count the number of anchor tags to determine the total number of links on the webpage.
Q6. Write locator for element in webpage
Use CSS selector to locate element on webpage
Use unique id or class names to locate element
Use CSS selectors like 'id', 'class', 'name', 'tag name', etc.
Use XPath if necessary for complex element locating
Q7. Lock and Synchronised difference
Lock and Synchronised are both mechanisms used for thread synchronization in Java.
Lock is a more flexible and powerful mechanism compared to synchronized keyword in Java.
Lock interface provides more functionalities like tryLock(), lockInterruptibly(), etc.
Lock allows for more fine-grained control over locking and unlocking of resources.
Synchronized keyword is simpler to use but may lead to deadlocks in complex scenarios.
Synchronized keyword is implicitly used in synchronized ...read more
Q8. remove zeros from arrays list
Remove zeros from arrays list of strings
Iterate through each string in the array
Use filter method to remove zeros from each string
Return the updated array without zeros
Q9. return type of Findelements
FindElements method returns a list of web elements matching the specified locator.
Return type of FindElements is List
It returns a list of all elements matching the specified locator
Example: List
elements = driver.findElements(By.xpath("//input[@type='text']"));
Q10. Design 1:1 chat first
Design a 1:1 chat feature for seamless communication between two users.
Implement real-time messaging functionality
Include features like read receipts, typing indicators, and message timestamps
Allow users to share multimedia content such as images and videos
Provide options for users to customize their chat settings and notifications
More about working at Oracle
Interview Process at Skylimit Creations
Top Senior Member Technical Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month