Add office photos
Engaged Employer

NeoSOFT

4.0
based on 1.6k Reviews
Video summary
Filter interviews by

Digital Edge DC Interview Questions and Answers

Updated 28 Apr 2024
Popular Designations

Q1. 1. Difference between abstract class and interface. 2. Internal Working of HashMap 3. Difference Between ArrayList vs Linked List. 4. WAP to reverse a String 5. dependency Injections 6. IOC Container 7. Singlet...

read more
Ans.

This interview question covers various topics including abstract class, interface, HashMap, ArrayList, Linked List, String reversal, dependency injection, IOC container, and singleton class.

  • Abstract class is a class that cannot be instantiated and can have both abstract and non-abstract methods.

  • Interface is a blueprint of a class that can only have abstract methods and cannot be instantiated.

  • HashMap is a data structure that stores key-value pairs and uses hashing to provide c...read more

View 1 answer

Q2. Difference Between controller and Rest Controller

Ans.

Controller is a general term for handling requests, while Rest Controller is specifically for RESTful web services.

  • Controller is responsible for handling incoming requests and returning responses.

  • Rest Controller is a specialized type of controller that is used for building RESTful web services.

  • Rest Controller uses HTTP methods like GET, POST, PUT, DELETE to perform CRUD operations on resources.

  • Rest Controller returns data in JSON or XML format.

  • Example: Spring MVC has a regula...read more

Add your answer

Q3. What is Stream API in java 8

Ans.

Stream API is a new feature in Java 8 that allows processing of collections in a functional way.

  • Stream API provides a set of functional interfaces and methods to perform operations on collections.

  • It supports parallel processing of collections, making it faster for large datasets.

  • Examples of operations include filtering, mapping, sorting, and reducing.

  • Stream API can be used with both primitive and object types.

  • It promotes cleaner and more concise code compared to traditional l...read more

View 1 answer

Q4. what is internal working of hashmap

Ans.

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

  • HashMap internally uses an array of linked lists to store key-value pairs.

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

  • If multiple keys hash to the same index, a linked list is used to handle collisions.

  • To retrieve a value, the key is hashed again to find the corresponding index and then the linked list is sea...read more

Add your answer
Discover Digital Edge DC interview dos and don'ts from real experiences

Q5. Optional Class in java

Ans.

Optional class in Java is used to represent a value that may or may not be present.

  • Optional class was introduced in Java 8.

  • It is used to avoid null pointer exceptions.

  • It can be used with streams to filter out null values.

  • Example: Optional name = Optional.ofNullable(null);

  • Example: Optional name = Optional.of("John");

Add your answer

Q6. Linked list implementation

Ans.

Linked list is a data structure where each element points to the next element in the sequence.

  • Nodes contain data and a reference to the next node

  • Operations include insertion, deletion, and traversal

  • Example: Singly linked list: 1 -> 2 -> 3 -> null

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

Interview Process at Digital Edge DC

based on 3 interviews
Interview experience
4.3
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Associate Software Engineer Interview Questions from Similar Companies

3.8
 • 157 Interview Questions
4.1
 • 32 Interview Questions
3.8
 • 25 Interview Questions
3.9
 • 18 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