Add office photos
Employer?
Claim Account for FREE

EPAM Systems

3.8
based on 1.3k Reviews
Filter interviews by

10+ DR JOY DENTAL CLINIC DUBAI . UAE Interview Questions and Answers

Updated 9 Jan 2025
Popular Designations

Q1. Explain OOPS Concept? What is Polymorphism and Types of polymorphism? Write Code for compile time and Run time Polymorphism? What are singleton class and factory method? What is Exception and Exception Hierarch...

read more
Ans.

Java interview questions on OOPS concepts, polymorphism, exceptions, data structures, and threading.

  • OOPS concepts include encapsulation, inheritance, and polymorphism.

  • Polymorphism refers to the ability of an object to take on multiple forms.

  • Singleton class is a class that can only have one instance, while factory method is a method that creates objects.

  • Exception is an error that occurs during program execution, with a hierarchy of exceptions.

  • Volatile keyword is used to indica...read more

View 1 answer

Q2. Small SQL challenge, to implement a query for given examples...

Ans.

Implement a SQL query for given examples

  • Use SELECT statement to retrieve data from tables

  • Use WHERE clause to filter results based on conditions

  • Use JOIN clause to combine data from multiple tables if needed

Add your answer

Q3. Small coding task, preferable using Streams...

Ans.

Filter out strings starting with 'a' and convert to uppercase using Streams

  • Use Stream.filter() to filter out strings starting with 'a'

  • Use Stream.map() to convert remaining strings to uppercase

  • Collect the result back into an array using Collectors.toList()

Add your answer

Q4. Count frequency of elements using java 8

Ans.

Using Java 8 streams to count frequency of elements in an array of strings

  • Use Java 8 streams to convert the array to a map with element as key and count as value

  • Use Collectors.groupingBy and Collectors.counting to achieve this

  • Example: Arrays.stream(array).collect(Collectors.groupingBy(Function.identity(), Collectors.counting()))

Add your answer
Discover DR JOY DENTAL CLINIC DUBAI . UAE interview dos and don'ts from real experiences

Q5. Explain hashmap internal implementation

Ans.

HashMap is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.

  • HashMap is implemented using an array of linked lists, where each element is a key-value pair stored in a Node object.

  • When a key-value pair is added to the HashMap, the key is hashed to determine the index in the array where the pair will be stored.

  • If multiple key-value pairs hash to the same index, they are stored in a linked list at that index.

  • HashMap uses hashing to quic...read more

Add your answer

Q6. Interface vs abstract

Ans.

Interface defines a contract for classes to implement, while abstract class provides partial implementation.

  • Interface can have only abstract methods, while abstract class can have both abstract and concrete methods.

  • A class can implement multiple interfaces but can only extend one abstract class.

  • Interfaces are used for achieving multiple inheritance in Java.

  • Abstract classes are used when some common functionality needs to be shared among multiple classes.

Add your answer
Are these interview questions helpful?

Q7. Microservices design pattern

Ans.

Microservices design pattern is an architectural style that structures an application as a collection of loosely coupled services.

  • Each service is responsible for a specific function and can be developed, deployed, and scaled independently.

  • Communication between services is typically done through APIs, allowing for flexibility and resilience.

  • Microservices promote agility, scalability, and maintainability in large and complex applications.

  • Examples of companies using microservice...read more

Add your answer

Q8. Java 8 streams operation

Ans.

Java 8 streams provide a way to process collections of objects in a functional style.

  • Streams are created from collections using stream() method

  • Operations like filter, map, reduce can be applied to streams

  • Terminal operations like forEach, collect are used to process the stream

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. multthreading concept

Ans.

Multithreading allows multiple threads to execute concurrently within a single process.

  • Multithreading improves performance by allowing tasks to run in parallel.

  • Each thread has its own stack and shares the same heap memory.

  • Java provides built-in support for multithreading through the Thread class and Runnable interface.

Add your answer

Q10. Merge two lists

Ans.

Merge two lists in Java

  • Create a new list to store the merged result

  • Use addAll() method to add elements from both lists to the new list

  • Return the merged list

Add your answer

Q11. String in a file

Ans.

Manipulating strings stored in a file using Java

  • Read the file using FileReader and BufferedReader classes

  • Use String methods like split(), substring(), replace() to manipulate the strings

  • Write the modified strings back to the file using FileWriter

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at DR JOY DENTAL CLINIC DUBAI . UAE

based on 10 interviews
3 Interview rounds
Technical Round - 1
Technical Round - 2
Technical Round - 3
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Java Developer Interview Questions from Similar Companies

3.7
 • 164 Interview Questions
3.5
 • 54 Interview Questions
3.9
 • 35 Interview Questions
3.8
 • 32 Interview Questions
3.5
 • 19 Interview Questions
4.6
 • 11 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter