Skip to main content

Top 10 Angular8 and 9 Interview Questions and Answers to Know in 2020| a...

               

Top 10 #Angular8 and angular#9 #Interview Questions and #Answers to Know in #2020

Top 10 Angular 8/9 Interview Questions and Answers to Know in 2020
Q1:- difference between Promise and Observable in Angular?
Ans: - Promises:
 return a single value
 not cancellable
 more readable code with try/catch and async/await
Observables:
 work with multiple values over time
 cancellable
 support map, filter, reduce and similar operators
 use Reactive Extensions (RxJS)
 an array whose items arrive asynchronously over time
Q2:- What is AOT (Ahead-Of-Time) Compilation?
Ans: - Each Angular app gets compiled internally. The Angular compiler takes in the JS code, compiles it and then produces some JS code. This happens only once per occasion per user. It is known as AOT (Ahead-Of-Time) compilation.
Q3:- What is ngOnInit ()? How to define it?

Comments

Popular posts from this blog

#2 Angular 8 Tutorial in Hindi | Project Structure and File Structure in...

                     Angular 8 File Structure e2e(end-to-end) – This folder contains test cases for testing the complete application along with its specific configuration files. node_modules – Contains all the node-modules used in the angular application. src – Complete source code of the application resides in src folder. app – root component of the application. assets – contains all the images or resources used in the application. environments – contains build configuration environments of the application. We can create any target environment and specify its configuration here. index.html – This is the main html page which is rendered when someone opens your website or application. main.ts – This is the main entry point of the angular application which compiles the AppModule and renders the specified bootstrap component in the browser. styles.css – Contains all the styles to be used as globally in the application....

Build Realtime Chat Application using Angular 13.

in this video, we will see Angular chat application, Angular chat app, angular 13 chat application, realtime chat application with angular, real-time chat application,build a chat app with node and socket.io, build a chat app with angular and socket.io,what's app chat functionality,building a chat application with angular node js and socket.io Angular chat application with testycodeiz,angular chat project from scratch, angular project from scratch, angular 13 chat application with testycodeiz, angular chat app with testycodeiz, angular with testycodeiz, agular project with testycodeiz #chatapp, #angularchat #testycodeiz

Angular 11 CRUD Application Using MEAN Stack,angular CRUD Example, Angul...

              Angular 11 CRUD Application Using MEAN Stack, angular CRUD Example, Angular crud project,angular crud tutorial,angular crud operation,angular crud application,angular crud with mean stack, #Angular11 ​ , #CRUD ​ , #Angularproject ​ ,