Add office photos
Employer?
Claim Account for FREE

Fujitsu

3.8
based on 2.1k Reviews
Filter interviews by

Vishakha Plastic Pipes Interview Questions and Answers

Updated 8 Oct 2024
Popular Designations

Q1. What is the load factor for HASH MAP?

Ans.

Load factor for HASH MAP is the ratio of number of elements to the size of the table.

  • Load factor determines the efficiency of the HASH MAP.

  • It is calculated as the number of elements divided by the size of the table.

  • A higher load factor means more collisions and slower performance.

  • A good load factor is around 0.75.

  • Load factor can be adjusted by increasing or decreasing the size of the table.

Add your answer

Q2. What is .net,what is oops explain briefly

Ans.

The .NET framework is a software development platform developed by Microsoft. OOPs stands for Object-Oriented Programming, a programming paradigm based on the concept of objects.

  • The .NET framework is used for building various types of applications, including web, desktop, and mobile applications.

  • OOPs is a programming paradigm that uses objects and classes to design and develop applications.

  • In OOPs, objects are instances of classes that encapsulate data and behavior.

  • Some key p...read more

Add your answer

Q3. How to handle the ConcureentModificationException

Ans.

ConcurrentModificationException occurs when a collection is modified while iterating over it.

  • Use Iterator to iterate over the collection instead of foreach loop.

  • If modification is necessary, use Iterator's remove() method instead of collection's remove() method.

  • Consider using synchronized collections or ConcurrentHashMap to avoid ConcurrentModificationException.

Add your answer

Q4. How to handle exception in java

Ans.

In Java, exceptions can be handled using try-catch blocks to catch and handle specific exceptions.

  • Use try-catch blocks to catch exceptions and handle them gracefully

  • Use multiple catch blocks to handle different types of exceptions

  • Use finally block to execute code regardless of whether an exception is thrown or not

  • Throw custom exceptions using throw keyword

Add your answer
Discover Vishakha Plastic Pipes interview dos and don'ts from real experiences

Q5. In Java8, different between flatmap and map

Ans.

map transforms each element in a stream, while flatMap transforms each element into multiple elements

  • map applies a function to each element in a stream and returns a new stream of the results

  • flatMap applies a function that returns a stream for each element in the original stream, then flattens the streams into a single stream

  • Example: map - stream.map(x -> x * x), flatMap - stream.flatMap(str -> Arrays.stream(str.split("")))

Add your answer

Q6. What is Dependency Injection?

Ans.

Dependency Injection is a design pattern in which components are given their dependencies rather than creating them internally.

  • Allows for easier testing by providing mock dependencies

  • Promotes loose coupling between components

  • Improves code reusability and maintainability

  • Examples: Constructor injection, Setter injection, Interface injection

Add your answer

Q7. Difference between heap and stack?

Ans.

Heap and stack are two types of memory allocation in computer systems.

  • Stack is used for static memory allocation while heap is used for dynamic memory allocation.

  • Stack memory is allocated in a contiguous block while heap memory is not.

  • Stack memory is managed by the CPU while heap memory is managed by the programmer.

  • Stack memory is faster to access than heap memory.

  • Examples of stack memory include function calls and local variables while examples of heap memory include objects...read more

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

Interview Process at Vishakha Plastic Pipes

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

Top Software Developer Interview Questions from Similar Companies

3.7
 • 249 Interview Questions
3.0
 • 25 Interview Questions
4.4
 • 25 Interview Questions
3.7
 • 18 Interview Questions
3.8
 • 11 Interview Questions
3.4
 • 10 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
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