Upload Button Icon Add office photos

Filter interviews by

Foray Software Java Developer Interview Questions and Answers

Updated 17 Feb 2024

Foray Software Java Developer Interview Experiences

2 interviews found

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Aug 2022. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(2 Questions)

  • Q1. How many ways to create the object in java
  • Ans. 

    There are multiple ways to create objects in Java.

    • Using the 'new' keyword

    • Using object cloning

    • Using object deserialization

    • Using reflection

    • Using factory methods

    • Using dependency injection frameworks

  • Answered by AI
  • Q2. What is the use of final key word in java
  • Ans. 

    The final keyword in Java is used to restrict the user from modifying the value of a variable, the definition of a method, or the inheritance of a class.

    • When applied to a variable, the final keyword makes it a constant that cannot be changed.

    • When applied to a method, the final keyword prevents it from being overridden by subclasses.

    • When applied to a class, the final keyword prevents it from being extended by other clas...

  • Answered by AI
Round 3 - HR 

(2 Questions)

  • Q1. How much salary you expected
  • Q2. What is the last company provided salary to you

Interview Preparation Tips

Interview preparation tips for other job seekers - This is good company to work and it is provided hike in time

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed before Feb 2023. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Java 8 features
  • Q2. Stream api example
  • Ans. 

    Stream API in Java provides a way to process collections of objects in a functional style.

    • Stream API allows for easy manipulation of collections using functional programming concepts like map, filter, and reduce.

    • Example: List names = Arrays.asList("Alice", "Bob", "Charlie"); names.stream().filter(name -> name.startsWith("A")).forEach(System.out::println);

    • Streams can be parallelized to improve performance on multi-core...

  • Answered by AI

Skills evaluated in this interview

Java Developer Interview Questions Asked at Other Companies

asked in Deloitte
Q1. Sort 0 and 1 Problem Statement Given an integer array ARR of size ... read more
Q2. Parent class has run() and walk() . Parent run() - calls walk() C ... read more
asked in Infosys
Q3. Which should be preferred between String and StringBuffer when th ... read more
asked in Deloitte
Q4. Convert BST to Greater Sum Tree Given a Binary Search Tree (BST) ... read more
Q5. 2. What will happen if hashcode only returns a constant? How will ... read more

Interview questions from similar companies

I applied via Naukri.com and was interviewed before May 2021. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Basic java concepts like collection frame work, exception handling

Interview Preparation Tips

Interview preparation tips for other job seekers - Learn basics well, be confident, show you are flexible enough to learn

I applied via Company Website

Interview Questionnaire 

1 Question

  • Q1. Java

Interview Preparation Tips

Interview preparation tips for other job seekers - Yes

I applied via Campus Placement and was interviewed before Jul 2021. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. 1 . Oops concept in detail 2 DBMS 3. Data base query
Round 2 - HR 

(1 Question)

  • Q1. Document verification

Interview Preparation Tips

Interview preparation tips for other job seekers - For freshers should be clear on basic concepts.
For experienced should be detailed knowledge on their domain.

I applied via Campus Placement and was interviewed before Oct 2020. There was 1 interview round.

Interview Questionnaire 

2 Questions

  • Q1. What is encapsulation ?
  • Ans. 

    Encapsulation is the process of hiding implementation details and providing access to only necessary information.

    • Encapsulation helps in achieving data abstraction and information hiding.

    • It allows for better control over data and prevents unauthorized access.

    • In Java, encapsulation is achieved through the use of access modifiers such as private, public, and protected.

    • For example, a class may have private variables that c...

  • Answered by AI
  • Q2. What is the meaning of string.
  • Ans. 

    A string is a sequence of characters used to represent text in programming.

    • Strings are often used for storing and manipulating text data.

    • In Java, strings are represented by the String class.

    • Strings can be concatenated using the + operator.

    • Strings are immutable, meaning they cannot be changed once created.

    • Examples of string literals include "hello world" and "42".

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - do not tell about salary expectations

Skills evaluated in this interview

I was interviewed in Jul 2017.

Interview Questionnaire 

6 Questions

  • Q1. What is autoboxing and unboxing
  • Ans. 

    Autoboxing is the automatic conversion of primitive data types to their corresponding object wrapper classes.

    • Autoboxing is useful when working with collections that require objects instead of primitives.

    • Example: int i = 5; Integer j = i; //autoboxing

    • Unboxing is the opposite of autoboxing, where an object of a wrapper class is converted back to its corresponding primitive type.

    • Example: Integer j = 5; int i = j; //unboxi

  • Answered by AI
  • Q2. What is typecasting UP AND DOWN
  • Ans. 

    Typecasting up and down refers to converting a variable of one data type to another data type of higher or lower precision.

    • Typecasting up involves converting a variable of lower precision to a variable of higher precision, such as converting an int to a double.

    • Typecasting down involves converting a variable of higher precision to a variable of lower precision, such as converting a double to an int.

    • Typecasting can resul...

  • Answered by AI
  • Q3. How do you iterate map
  • Ans. 

    To iterate a map in Java, use a for-each loop or an iterator.

    • Use the entrySet() method to get a set of key-value pairs

    • For-each loop: for(Map.Entry entry : map.entrySet())

    • Iterator: Iterator> iterator = map.entrySet().iterator();

    • Use hasNext() and next() methods to iterate through the map

  • Answered by AI
  • Q4. Types of synchronisation in java
  • Ans. 

    Types of synchronization in Java

    • Synchronized methods

    • Synchronized statements

    • ReentrantLock

    • Semaphore

    • CountDownLatch

  • Answered by AI
  • Q5. Access modifiers in method overriding
  • Ans. 

    Access modifiers in method overriding

    • Access modifiers in the overriding method cannot be more restrictive than the overridden method

    • The access modifier can be less restrictive or the same as the overridden method

    • Private methods cannot be overridden

    • Examples: public method can be overridden by public or protected method, but not by private method

  • Answered by AI
  • Q6. Covarient return type

Skills evaluated in this interview

I was interviewed in Jun 2017.

Interview Preparation Tips

Round: Technical Interview
Experience: They asked java basics,
what we wrote in resume will ask
about project
Tips: please prepare basics things

Interview Preparation Tips

Round: Test
Experience: I almost sove 130 question
Duration: 2 hours
Total Questions: 150

Round: Group Discussion
Experience: Problem Solving Algorithms
Duration: 3 hours

I applied via Naukri.com and was interviewed in Aug 2018. There were 5 interview rounds.

Interview Questionnaire 

4 Questions

  • Q1. 1.Core java 2.Spring 3. Hibernate 4. Spring Boot 5. SQL 6. AngularJS
  • Ans. 

    The question is asking about the candidate's knowledge in Core Java, Spring, Hibernate, Spring Boot, SQL, and AngularJS.

    • Core Java is the foundation of Java programming language.

    • Spring is a popular framework for building Java applications.

    • Hibernate is an ORM tool used for mapping Java objects to database tables.

    • Spring Boot is a framework for building microservices.

    • SQL is a language used for managing relational databases...

  • Answered by AI
  • Q2. 1. How to connect 2 DBs from spring boot application
  • Ans. 

    To connect 2 DBs from a Spring Boot application, configure multiple data sources and use JdbcTemplate or EntityManager for each DB.

    • Configure multiple data sources in the application.properties file

    • Create separate configuration classes for each data source

    • Use JdbcTemplate or EntityManager to interact with each DB

    • Specify the appropriate data source in the repository or service classes

  • Answered by AI
  • Q3. 2. Difference between abstract method implementation and default method
  • Ans. 

    Abstract method implementation is mandatory while default method is optional.

    • Abstract method has no implementation in the abstract class and must be implemented by the subclass.

    • Default method has a default implementation in the interface and can be overridden by the implementing class.

    • Abstract method is used to enforce a contract while default method is used to provide a default behavior.

    • Example: abstract method - publ...

  • Answered by AI
  • Q4. 1. About salary and expectation

Interview Preparation Tips

Round: Test
Experience: Technical written test

General Tips: Terrible interview. HR told to give 11% hike with 6% variable and 5% fixed. I kicked off the company.
Skills: Web Technologies, Java Application Development
Duration: 1-4 weeks

Skills evaluated in this interview

Foray Software Interview FAQs

How many rounds are there in Foray Software Java Developer interview?
Foray Software interview process usually has 2 rounds. The most common rounds in the Foray Software interview process are Technical, HR and Resume Shortlist.
How to prepare for Foray Software Java Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Foray Software. The most common topics and skills that interviewers at Foray Software expect are Java, Microservices, Hibernate, Spring Boot and Spring.
What are the top questions asked in Foray Software Java Developer interview?

Some of the top questions asked at the Foray Software Java Developer interview -

  1. How many ways to create the object in j...read more
  2. What is the use of final key word in j...read more
  3. Stream api exam...read more

Tell us how to improve this page.

Foray Software Java Developer Interview Process

based on 2 interviews

Interview experience

4.5
  
Good
View more
Foray Software Java Developer Salary
based on 61 salaries
₹4 L/yr - ₹9.6 L/yr
9% more than the average Java Developer Salary in India
View more details

Foray Software Java Developer Reviews and Ratings

based on 1 review

3.0/5

Rating in categories

3.0

Skill development

3.0

Work-life balance

3.0

Salary

3.0

Job security

3.0

Company culture

3.0

Promotions

3.0

Work satisfaction

Explore 1 Review and Rating
Software Engineer
316 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Information Technology Recruiter
296 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Software Engineer
229 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Developer
221 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Softwaretest Engineer
131 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Foray Software with

Infosys

3.6
Compare

TCS

3.7
Compare

Wipro

3.7
Compare

HCLTech

3.5
Compare
Did you find this page helpful?
Yes No
write
Share an Interview