Add office photos
Employer?
Claim Account for FREE

Shri Chhatrapati Shivaji Maharaj College of Engineering

-
No reviews yet
-
Reviews
-
Jobs
-
Benefits
-
Photos
Filter interviews by

Palsons Derma Interview Questions and Answers

Updated 5 Feb 2024

Q1. what is difference between overloading and overriding ?

Ans.

Overloading is having multiple methods with the same name but different parameters. Overriding is having a method in child class with the same name and signature as in parent class.

  • Overloading is compile-time polymorphism while overriding is runtime polymorphism.

  • Overloading is done in the same class while overriding is done in different classes.

  • Overloading is used to provide different implementations of the same method while overriding is used to provide a specific implementa...read more

Add your answer

Q2. what do you understand by object and class ?

Ans.

Object is an instance of a class that has its own set of properties and methods. A class is a blueprint for creating objects.

  • An object is a real-world entity with its own set of attributes and behaviors.

  • A class is a template or blueprint for creating objects.

  • Objects are created from classes using the 'new' keyword.

  • Classes can have properties (variables) and methods (functions).

  • Inheritance allows classes to inherit properties and methods from parent classes.

  • Polymorphism allows...read more

Add your answer

Q3. Write the examples of union, intersection?

Ans.

Union and intersection are set operations used in mathematics and computer science.

  • Union combines two sets and removes duplicates

  • Intersection returns the common elements between two sets

  • Example of union: {1,2,3} union {3,4,5} = {1,2,3,4,5}

  • Example of intersection: {1,2,3} intersection {3,4,5} = {3}

Add your answer

Q4. What is trigger, Cursor?

Ans.

Trigger is a database object that executes automatically in response to certain events. Cursor is a database object used to manipulate data.

  • Triggers are used to maintain data integrity and consistency.

  • Triggers can be used to audit changes made to the database.

  • Cursors are used to iterate through a set of rows returned by a query.

  • Cursors can be used to update or delete rows in a table.

  • Triggers and cursors are commonly used in database programming.

Add your answer
Discover Palsons Derma interview dos and don'ts from real experiences

Q5. Write the example of encapsulation?

Ans.

Encapsulation is the process of hiding implementation details and exposing only necessary information.

  • Encapsulation helps in achieving data abstraction and information hiding.

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

  • An example of encapsulation is a class in object-oriented programming, where the data members are private and can only be accessed through public methods.

Add your answer

Q6. what is inheritance?

Ans.

Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.

  • Inheritance allows for code reuse and promotes code organization.

  • The existing class is called the parent or superclass, while the new class is called the child or subclass.

  • The child class inherits all the properties and methods of the parent class, and can also add its own unique properties and methods.

  • For example, a class Animal can be the pare...read more

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
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