CoverPhoto
HCLTech logo
Premium Employer

HCLTech

Verified
3.5
based on 36.4k Reviews
Filter interviews by
full stack .net developer
Clear (1)

HCLTech full stack .net developer Interview Questions and Answers

Updated 19 Feb 2025

Q1. What is Singleton design patterns and how to implement?

Ans.

Singleton design pattern ensures a class has only one instance and provides a global point of access to it.

  • Ensure a class has only one instance by providing a global access point to it

  • Use a private constructor to restrict instantiation of the class

  • Provide a static method to access the instance of the class

Add your answer
right arrow

Q2. What is extension method and write the code.

Ans.

Extension methods allow adding new methods to existing types without modifying the original type.

  • Extension methods must be defined in a static class.

  • The first parameter of an extension method specifies the type being extended and is preceded by the 'this' keyword.

  • Extension methods can be called as if they were instance methods of the extended type.

Add your answer
right arrow

Q3. How to send data from child to parent component

Ans.

Use event emitters or callback functions to send data from child to parent component in Angular

  • Use @Output decorator in Angular to create custom events in child component and emit data to parent component

  • Pass a function as a prop from parent to child component, which child can call to send data back to parent

  • Use services to share data between components in Angular

Add your answer
right arrow

Q4. What's is css What's is css full form

Ans.

CSS stands for Cascading Style Sheets. It is a styling language used to control the look and feel of a website.

  • CSS is used to style the layout and design of web pages.

  • It allows for the separation of content from presentation.

  • CSS can be applied inline, internally within an HTML document, or externally in a separate file.

  • Selectors are used to target specific elements on a webpage for styling.

  • CSS properties include color, font size, margin, padding, and more.

Add your answer
right arrow
Discover HCLTech interview dos and don'ts from real experiences

Q5. What's is html What's is html full form

Ans.

HTML is a markup language used for creating and structuring web pages.

  • HTML stands for HyperText Markup Language

  • It is used to create the structure and content of web pages

  • HTML elements are surrounded by angle brackets, like <html>

  • Attributes can be added to HTML elements to provide additional information

Add your answer
right arrow

Q6. What's is SQL What's is MySQL

Ans.

SQL is a standard language for managing relational databases. MySQL is an open-source relational database management system.

  • SQL stands for Structured Query Language

  • SQL is used to communicate with databases to perform tasks like querying data, updating data, and creating databases

  • MySQL is a popular open-source relational database management system

  • MySQL is often used in web development for storing and retrieving data

Add your answer
right arrow

Q7. Life cycle hooks in angular

Ans.

Life cycle hooks in Angular are functions that are called at specific points in the component's life cycle.

  • ngOnChanges: Called when an input property changes

  • ngOnInit: Called once the component is initialized

  • ngOnDestroy: Called before the component is destroyed

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

Interview Process at HCLTech full stack .net developer

based on 2 interviews
Interview experience
5.0
Excellent
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Recently Viewed
SALARIES
CMS IT Services
SALARIES
QualityKiosk Technologies
SALARIES
CMS IT Services
INTERVIEWS
Paisabazaar.com
No Interviews
SALARIES
HTC Global Services
INTERVIEWS
Paisabazaar.com
No Interviews
INTERVIEWS
Paisabazaar.com
No Interviews
SALARIES
CMS IT Services
INTERVIEWS
Paisabazaar.com
No Interviews
INTERVIEWS
HCLTech
5.6k top interview questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 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