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

#Angular 10 #Star #rating example | Star Review System in angular by #Te...

           In this video, we build a five-star review system with #Angular10 . #Angular 10 #Star #rating example | Star Review System in angular by #Testycodeiz . rating system, #Angular 10 #Star #rating example,angular star rating,angular star rating component,star rating in angular,star rating in angular 8,Star Review System in angular,angular by #Testycodeiz ,angular rating,angular rating star,angular 4 star rating,angular 5 star rating,angular 6 star rating,angular 7 star rating,angular 8 star rating,angular 9 star rating sytem,angular 10 star rating system,angular star rating by testy codeiz,testycodeiz angular

#8 how to create RESTful API with nodejs in hindi | PUT method in REST A...

                    how to create #RESTful API with #nodejs in hindi | #PUT method in REST API in #nodejs by Ashish 😮 Use PUT when you want to modify a singular resource which is already a part of resources collection. PUT replaces the resource in its entirety. Use PATCH if request updates part of the resource. Generally, in practice, always use PUT for #UPDATE operations. Handling PUT requests PUT requests will be used to make updates to existing resources. It’s important to note that #PUT is used to replace the entire resource – it doesn’t do partial updates (I will show you how to do this with PATCH in the future).

mongoDB,How to download mongoDB, How to Install MongoDB, MongoDB for Ang...

           mongoDB,How to download mongoDB, How to Install MongoDB, MongoDB for Angular, MongoDB for MEAN Stack, mongoDB download and Install, #MongoDB ​ , #Angular ​ , #Nodejs ​ , Mongodb installation, Mongodb for Angular 11, mongodb for angular 10, mongodb for angular 9, mongodb with Testycodeiz, Mongodb for MEAN, Download MongoDB Link: mongodb.com/try/download/community?tck=docs_server