Add office photos
Incapsulate logo
Employer?
Claim Account for FREE

Incapsulate

3.3
based on 22 Reviews
Filter interviews by
Designation

Incapsulate Interview Questions and Answers

Updated 5 Feb 2024

Q1. Write a program to append a string at the middle of another string

Ans.

Program to append a string at the middle of another string

  • Find the middle index of the original string

  • Use string slicing to split the original string into two parts

  • Concatenate the first part, new string, and second part to form the final string

Add your answer
right arrow

Q2. Write query to select the sum of salaries department wise.

Ans.

Query to select sum of salaries department wise

  • Use GROUP BY clause to group salaries by department

  • Use SUM() function to calculate the sum of salaries

  • Join the employee and department tables on department ID

Add your answer
right arrow

Q3. Write a query to select employee having second highest salary

Ans.

Query to select employee with second highest salary

  • Use ORDER BY clause to sort salaries in descending order

  • Use LIMIT 1,1 to select the second highest salary

  • Join with employee table to get employee details

Add your answer
right arrow

Q4. What are oops concepts

Ans.

OOPs concepts are the fundamental principles of Object-Oriented Programming.

  • Abstraction

  • Encapsulation

  • Inheritance

  • Polymorphism

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

Q5. What are the access modifiers

Ans.

Access modifiers are keywords in object-oriented programming languages that set the accessibility of classes, methods, and other members.

  • There are four access modifiers in Java: public, private, protected, and default

  • Public members are accessible from anywhere in the program

  • Private members are only accessible within the same class

  • Protected members are accessible within the same class and its subclasses

  • Default members are accessible within the same package

  • Access modifiers help...read more

Add your answer
right arrow

Q6. Explain about abstraction

Ans.

Abstraction is the process of hiding complex implementation details and showing only the necessary information to the user.

  • Abstraction is achieved through abstract classes and interfaces.

  • It helps in reducing complexity and improving maintainability.

  • Example: A car dashboard is an abstraction of the car's internal workings.

  • Abstraction is a key concept in object-oriented programming.

Add your answer
right arrow

Q7. How to controll the text input without using use state in react native

Ans.

You can control text input in React Native without using useState by utilizing refs.

  • Use refs to access and manipulate the text input directly

  • Set up a ref for the text input component and use ref.current.value to get the current value

  • You can also use ref.current.focus() to focus on the text input programmatically

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 Incapsulate

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

Top Interview Questions from Similar Companies

LTIMindtree Logo
3.8
 • 2k Interview Questions
Cisco Logo
4.1
 • 299 Interview Questions
VVDN Technologies Logo
3.6
 • 160 Interview Questions
VE Commercial Vehicles Logo
4.0
 • 157 Interview Questions
Movate Logo
3.3
 • 150 Interview Questions
MRF Tyres Logo
3.7
 • 139 Interview Questions
View all
Recently Viewed
SALARIES
Proquire
SALARIES
Inspirage
INTERVIEWS
Inspirage
No Interviews
SALARIES
Inspirage
LIST OF COMPANIES
Saasfocus
Locations
SALARIES
Inspirage
SALARIES
Inspirage
SALARIES
Incapsulate
SALARIES
Inspirage
REVIEWS
Incapsulate
No Reviews
Top Incapsulate Interview Questions And Answers
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