CoverPhoto
Impetus Technologies logo
Premium Employer

Impetus Technologies

Verified
3.6
based on 489 Reviews
Filter interviews by
Lead Software Engineer
Experienced
Clear (1)

Impetus Technologies Lead Software Engineer Interview Questions and Answers

Updated 17 Dec 2024

Q1. Overloading with different return type allowed or not

Ans.

Overloading with different return type is not allowed in Java.

  • Overloading is based on method signature, not return type

  • Methods with same name and different return type will result in compile-time error

  • Example: int add(int a, int b) and double add(int a, int b) is not allowed

Add your answer
right arrow

Q2. How to remove duplicates from string

Ans.

Use a set to remove duplicates from a string array.

  • Create a set to store unique strings.

  • Iterate through the array and add each string to the set.

  • Convert the set back to an array to get the unique strings.

Add your answer
right arrow

Q3. How to achieve authentication in web API

Ans.

Authentication in web API is achieved by using tokens or API keys to verify the identity of users.

  • Use tokens (such as JWT) to authenticate users

  • Implement OAuth for secure authentication

  • Utilize API keys for authentication purposes

Add your answer
right arrow

Q4. Sealed virtual static new keyword use

Ans.

Sealed virtual static new keywords are used in C# to control inheritance and method hiding.

  • Sealed keyword prevents a class from being inherited.

  • Virtual keyword allows a method to be overridden in derived classes.

  • Static keyword makes a member of a class accessible without creating an instance of the class.

  • New keyword hides a method from the base class in the derived class.

Add your answer
right arrow
Discover Impetus Technologies interview dos and don'ts from real experiences

Q5. Diff interface vs abstract class

Ans.

Interface defines a contract for classes to implement, while abstract class can have both abstract and concrete methods.

  • Interfaces can only have abstract methods and constants, while abstract classes can have both abstract and concrete methods.

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

  • Interfaces are used to achieve multiple inheritance in Java, while abstract classes are used to provide a common base for subclasses.

Add your answer
right arrow

Q6. Diff string string builder

Ans.

Diff string string builder compares two strings and returns the differences.

  • Use a loop to iterate through each character of the strings

  • Compare characters at the same index in both strings

  • Build a new string with the differing characters

Add your answer
right arrow

Q7. Diff array vs array list

Ans.

Arrays are fixed in size, while ArrayLists can dynamically resize.

  • Arrays have a fixed size determined at initialization, while ArrayLists can dynamically resize.

  • Arrays are faster for accessing elements, while ArrayLists are better for adding or removing elements.

  • Arrays use [] syntax for accessing elements, while ArrayLists use get() and set() methods.

  • Arrays can only store primitive types, while ArrayLists can store objects.

Add your answer
right arrow

Q8. Diff = vs .equal

Ans.

Diff method compares values of two objects while equal method compares references of two objects.

  • Diff method compares values of two objects, while equal method compares references.

  • Diff method is used to check if two objects are different, while equal method is used to check if two objects are the same.

  • Example: obj1.diff(obj2) vs obj1.equal(obj2)

Add your answer
right arrow

Q9. Four pillars of OOPS

Ans.

Encapsulation, Inheritance, Polymorphism, Abstraction

  • Encapsulation: Bundling data and methods that operate on the data into a single unit

  • Inheritance: Ability of a class to inherit properties and behavior from another class

  • Polymorphism: Ability to present the same interface for different data types

  • Abstraction: Hiding the complex implementation details and showing only the necessary features

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

Interview Process at Impetus Technologies Lead Software Engineer

based on 2 interviews
Interview experience
4.0
Good
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Lead Software Engineer Interview Questions from Similar Companies

View all
Recently Viewed
PHOTOS
Growisto
7 office photos
JOBS
GroundTruth
33 jobs
JOBS
Browse jobs
Discover jobs you love
JOBS
Gushwork
14 jobs
JOBS
Replicon
No Jobs
JOBS
Barclays Shared Services
No Jobs
JOBS
Manthan Educational Programme Society
No Jobs
JOBS
Manthan Educational Programme Society
No Jobs
INTERVIEWS
Impetus Technologies
No Interviews
JOBS
Jayapriya Vidyalaya Group of Institutions
No Jobs
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 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