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 Material CRUD tutorial with JSON server, Angular Material Projec...

#angularwithtestycodeiz , #AngularCRUD , #Testycodeiz , #angularmaterial #angularwithtestycodeiz #testycodeiz

#1 React.js tutorial in Hindi, React tutorial for Beginners, React with ...

0:00 About Playlist 0:35 Introduction of React.js 1:50 is React library of framework? 4:28 History of React 8:30 Benefits of ReactJS 12:21 Why React.JS

Angular 11 Project, Angular Projects From Scratch, Angular Blog CMS Appl...

               Hello Every One Today we are going to Learn ,Angular 11 Project, Angular Projects From Scratch, Angular Blog CMS Application, Angular interceptor,Angular11 Project, Angular Projects From Scratch, #AngularBlog ​ CMS Application, #Angularinterceptor ​ , #ProjectwithTestycodeiz ​ ,Angular 11 Project,Angular Projects From Scratch,Angular Blog CMS Application,Angular interceptor,AngularBlog CMS Application,Angularinterceptor,ProjectwithTestycodeiz,Angular 11 Project From Scratch In Hindi 2021,ProjectinAngular,angular 9 Project from scratch,angular 10 Project from scratch,interceptor in angular testycodeiz,interceptor with testycodeiz,angular project from scratch,create angular project from scratch,angular http interceptor