Add office photos
Engaged Employer

TCS

3.7
based on 89.5k Reviews
Video summary
Filter interviews by

Herfy Food Services Interview Questions and Answers

Updated 28 Jan 2025
Popular Designations

Q1. What is stored procedure?

Ans.

Stored procedure is a precompiled collection of SQL statements that can be executed by calling the procedure name.

  • Stored procedures are stored in the database and can be reused multiple times.

  • They can accept input parameters and return output parameters.

  • They help improve performance by reducing network traffic and improving security.

  • Examples: sp_GetCustomerDetails, sp_InsertEmployee

Add your answer

Q2. What is abstract class

Ans.

Abstract class is a class that cannot be instantiated and is used as a blueprint for other classes to inherit from.

  • Cannot be instantiated directly

  • Can have abstract methods that must be implemented by subclasses

  • Can have non-abstract methods that can be inherited by subclasses

  • Used to define common behavior for subclasses

Add your answer

Q3. What are access modifier

Ans.

Access modifiers are keywords in programming languages that define the accessibility of classes, methods, and variables.

  • Access modifiers control the visibility and accessibility of classes, methods, and variables in a program.

  • Common access modifiers include public, private, protected, and default (package-private).

  • Public access modifier allows access from any other class.

  • Private access modifier restricts access to only within the same class.

  • Protected access modifier allows ac...read more

Add your answer

Q4. What is functional interface

Ans.

A functional interface is an interface that contains only one abstract method.

  • Functional interfaces can have multiple default or static methods, but only one abstract method.

  • Functional interfaces are used in lambda expressions and method references.

  • Examples of functional interfaces in Java include Runnable, Callable, and Comparator.

Add your answer
Discover Herfy Food Services interview dos and don'ts from real experiences

Q5. What is method overloading

Ans.

Method overloading is when multiple methods in a class have the same name but different parameters.

  • Allows multiple methods with the same name but different parameters to be defined in a class

  • The compiler determines which method to call based on the number and type of arguments passed

  • Example: having multiple 'calculate' methods in a class with different parameter types like int, double, etc.

Add your answer

Q6. What is oops in java

Ans.

Oops in Java stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.

  • Oops in Java focuses on creating objects that interact with each other to solve a problem

  • It involves concepts like classes, objects, inheritance, polymorphism, and encapsulation

  • Example: Creating a class 'Car' with properties like 'make', 'model', and methods like 'drive', 'stop'

Add your answer

Q7. Difference between .net and c#

Ans.

C# is a programming language while .NET is a framework that supports multiple languages including C#.

  • C# is a programming language developed by Microsoft.

  • .NET is a framework developed by Microsoft that supports multiple languages including C#.

  • C# is used to write code, while .NET provides libraries and tools for building applications.

  • C# code is compiled into Intermediate Language (IL) which runs on the .NET Common Language Runtime (CLR).

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

Interview Process at Herfy Food Services

based on 11 interviews
1 Interview rounds
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Full Stack Software Developer Interview Questions from Similar Companies

3.8
 • 28 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

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