Experion Technologies
Grab A Grub Services Interview Questions and Answers
Q1. What is difference between oops and function oriented prg lang?
OOPs is object-oriented programming language while function-oriented programming language focuses on functions.
OOPs focuses on objects and classes while function-oriented programming focuses on functions
OOPs supports encapsulation, inheritance, and polymorphism while function-oriented programming does not
OOPs is more suitable for large-scale projects while function-oriented programming is more suitable for small-scale projects
Examples of OOPs languages include Java, C++, and ...read more
Q2. Explain oops concepts all
OOPs concepts are the fundamental principles of object-oriented programming.
Abstraction: Hiding implementation details and showing only necessary information.
Encapsulation: Binding data and functions that manipulate data together.
Inheritance: Acquiring properties and behavior of a parent class by a child class.
Polymorphism: Ability of objects to take many forms or have multiple behaviors.
Class: Blueprint for creating objects with properties and methods.
Object: Instance of a c...read more
Q3. Abstract vs interface
Abstract classes are classes that cannot be instantiated, while interfaces are a collection of abstract methods.
Abstract classes can have both abstract and non-abstract methods, while interfaces can only have abstract methods.
A class can implement multiple interfaces, but can only inherit from one abstract class.
Abstract classes can have constructors, while interfaces cannot.
Interfaces can have default methods with implementation, while abstract classes cannot.
Q4. Difference between Abstract class and Interface .
Abstract class can have implementation while interface cannot. A class can implement multiple interfaces but not abstract classes.
Abstract class can have constructors while interface cannot.
Abstract class can have non-abstract methods while interface cannot.
Abstract class can have access modifiers while interface methods are public by default.
A class can implement multiple interfaces but can inherit only one abstract class.
Abstract classes are used when some common functional...read more
Q5. what is async/await in node
Async/await in Node.js is a feature that allows for asynchronous code to be written in a synchronous manner.
Async/await is a way to write asynchronous code that looks like synchronous code, making it easier to read and maintain.
It allows you to write asynchronous functions using the async keyword and await promises inside those functions.
Async/await is built on top of promises and is supported in Node.js version 7.6 and above.
Using async/await can help avoid callback hell and...read more
Q6. SOLID Principles in .Net
SOLID principles are a set of guidelines for writing maintainable and scalable code in .Net.
Single Responsibility Principle (SRP) - each class should have only one responsibility
Open/Closed Principle (OCP) - classes should be open for extension but closed for modification
Liskov Substitution Principle (LSP) - derived classes should be able to substitute their base classes
Interface Segregation Principle (ISP) - clients should not be forced to depend on interfaces they do not us...read more
Q7. what is event loop
Event loop is a mechanism in programming that allows for asynchronous execution of code by continuously checking for and handling events.
Event loop is commonly used in JavaScript to handle asynchronous operations.
It allows for non-blocking I/O operations by delegating tasks to the operating system.
Event loop continuously checks the event queue for new events and executes them in a loop.
Example: In Node.js, the event loop allows for handling multiple requests concurrently with...read more
Interview Process at Grab A Grub Services
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month