Add office photos
Engaged Employer

Data Template Infotech

3.4
based on 107 Reviews
Filter interviews by

Aan Group Interview Questions and Answers

Updated 16 Oct 2024

Q1. What are the annotations we used in springboot application?

Ans.

Annotations used in Spring Boot applications

  • 1. @RestController - Marks a class as a controller that handles HTTP requests

  • 2. @RequestMapping - Maps HTTP requests to handler methods

  • 3. @Autowired - Injects dependencies into a bean

  • 4. @Service - Marks a class as a service component

  • 5. @Repository - Marks a class as a repository component

  • 6. @Component - Marks a class as a generic Spring component

  • 7. @Configuration - Indicates that a class provides bean definitions

  • 8. @Value - Injects ...read more

Add your answer

Q2. What is abstract n abstarct methods in java

Ans.

Abstract classes and methods in Java provide a way to define common behavior that can be inherited by subclasses.

  • An abstract class is a class that cannot be instantiated and is meant to be extended by other classes.

  • An abstract method is a method that is declared without an implementation in an abstract class.

  • Subclasses of an abstract class must provide an implementation for all abstract methods.

  • Abstract classes can have both abstract and non-abstract methods.

  • Abstract classes ...read more

Add your answer

Q3. What are the oops concepts?

Ans.

Object-oriented programming concepts that help in designing and implementing software systems.

  • Encapsulation: bundling data and methods together

  • Inheritance: creating new classes from existing ones

  • Polymorphism: using a single interface to represent different types

  • Abstraction: hiding complex implementation details

  • Encapsulation: grouping related data and methods together

  • Association: relationship between classes

  • Composition: combining objects to create more complex ones

  • Aggregation:...read more

Add your answer

Q4. What is DOM in js

Ans.

DOM stands for Document Object Model in JavaScript, which represents the structure of a webpage as a tree of objects.

  • DOM is a programming interface for web documents.

  • It allows scripts to dynamically access and update the content, structure, and style of a webpage.

  • DOM represents the HTML elements as objects, allowing manipulation through JavaScript.

  • Example: document.getElementById('myElement') retrieves an element with the specified ID.

Add your answer
Discover Aan Group interview dos and don'ts from real experiences

Q5. Second Largest Number

Ans.

Find the second largest number in an array

  • Sort the array in descending order

  • Return the second element in the sorted array

Add your answer

Q6. Regrading Self join query

Ans.

A self join query is used to join a table to itself in a SQL query.

  • Self join is used when a table needs to be joined with itself to compare rows within the same table.

  • It requires aliasing the table with different names to distinguish between the two instances of the same table.

  • Commonly used in hierarchical data structures or when comparing related rows in a table.

Add your answer

Q7. Group by query per catagory

Ans.

Group by query is used to group data based on a specific category.

  • Use the GROUP BY clause in SQL to group data based on a specific column

  • Aggregate functions like COUNT, SUM, AVG can be used with GROUP BY to perform calculations on grouped data

  • Example: SELECT category, COUNT(*) FROM products GROUP BY category

Add your answer

Q8. Find max in array

Ans.

Find the maximum value in an array of strings.

  • Iterate through the array and compare each element to find the maximum value.

  • Convert the strings to numbers if needed before comparison.

  • Handle edge cases like empty array or non-numeric strings.

Add your answer

Q9. Remove Duplicate

Ans.

Remove duplicates from an array of strings

  • Use a Set to store unique values

  • Convert the Set back to an array to remove duplicates

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

Interview Process at Aan Group

based on 9 interviews in the last 1 year
Interview experience
4.2
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.7
 • 412 Interview Questions
3.8
 • 304 Interview Questions
3.9
 • 208 Interview Questions
4.0
 • 200 Interview Questions
4.2
 • 199 Interview Questions
4.3
 • 156 Interview Questions
View all
Top Data Template Infotech Interview Questions And Answers
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
Get AmbitionBox app

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