Interview Questions and Answers - Order By Rating Q61. Can we use interpolation with all data types ?
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  interpolation Q62. What is interpolation in Angular ? Angular
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  interpolation Q63. What is a component decorator ? Angular
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q64. What are the different conditions that triggers view update in case of push ChangeDetectionStrategy ? Angular
Ans. 1. Any change in Input
2. Any even originating from the component or it's child components
3. Explicit trigger Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  ChangeDetectionStrategy Q65. Which change detection strategy do you use in your application and Why ? Angular
Ans. We use ChangeDetectionStrategy.Push
As the application grows bigger , The default change detection strategy could become a performance overhead and hence should be avoided. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  ChangeDetectionStrategy Asked in 1 Companies Q66. Difference between ViewChild and ContentChild. Angular
Ans. Any directive, component, and element which is part of component template is accessed as ViewChild. Whereas, any element or component which is projected inside is accessed as ContentChild. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  ViewChild  ContentChild   ViewChild vs ContentChild Q67. Have you ever faced any problem due to package version incompatibility in angular ? How did you fix it ? Angular
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q68. Which file holds the dependent package information ? Angular
Ans. package.json Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q69. What are various design frameworks for Banking profile ? Design
This question was recently asked at 'IBM India'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q70. What is the main difference between unique key and primary key ? Database
Ans. Primary key will not accept NULL values whereas Unique key can accept one NULL value.
A table can have only primary key whereas there can be multiple unique key on a table.
A Clustered index automatically created when a primary key is defined whereas Unique key generates the non-clustered index. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Unique Key  Primary Key Asked in 1 Companies This question was recently asked at 'Chase'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q72. how did you handled your clients requests in your project ?
This question was recently asked at 'Wayzon'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q73. Design Parking Lot. Design
This question was recently asked at 'Visa'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q74. Can we apply strict mode to a function ? Angular
Ans. Yes Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q75. what is strict mode in javascript ? How is it used ? Javascript
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Ans. ConcurrentMap is an interface and it is a member of the Java Collections Framework. It represents a Map that is capable of handling concurrent access to it without affecting the consistency of entries in a map. ConcurrentMap interface present in java.util.concurrent package.
HashMap operations are not synchronized, while Hashtable provides synchronization. Though Hashtable is thread-safe, it is not very efficient. To solve this issue, the Java Collections Framework introduced ConcurrentMap in Java 1.5. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Concurrent Interface   java.util.concurrent   Java 8 Concurrency   java concurrency   java 8 Asked in 1 Companies Q77. What are abservables in angular ? Angular
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q78. What are the spec.ts files in angular ? Angular
Ans. The spec files are unit tests for your source files. The convention for Angular applications is to have a .spec.ts file for each .ts file. They are run using the Jasmine javascript test framework through the Karma test runner Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q79. How dependency injection in angular helps with loose coupling in angular ? Angular
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Dependency injection Q80. What are the different ways we can specify the selector for the component ? Angular
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q81. What is the selector and template in a component ? Angular
Ans. Selector specifies the name which is to be used to refer to the component whereas template specifies the html that needs to be rendered.
So selector specifies the reference name whereas template specifies the template or html to be rendered. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q82. Is it required to tie a component to a module ? Angular
Ans. Yes, We need to have a component tied to a module for it to work. If we don't want to create a new module , we can just tie it to default "app.module" Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q83. How to add a component in Angular ? Angular
Ans. 1. Create a component
2. Register it with a module
3. Add an element in HTML markup Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q84. What is the need of having multiple modules in angular ? Angular
Ans. It makes the application more modular and easy to manage. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q85. What are the things that an angular component holds ? Angular
Ans. Data , HTML and Logic Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q86. What are the building blocks of Angular Apps ? Angular
Ans. modules, components, templates, metadata, data binding, directives, services, and dependency injection Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q87. What is the purpose of Spring inheritance ? Spring
This question was recently asked at 'IBM India'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q88. What will you do if your build fails and you need to fix it in an hour ? Build Management
This question was recently asked at 'Workday'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q89. Design pattern used in struts. Struts
Ans. Struts controller uses the Command design pattern and the action classes use the Adapter design pattern. The process() method of the RequestProcessor uses the Template method design pattern. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Struts Design patterns Asked in 1 Companies Q90. What are the benefits of Java over other Programming Languages ? Core Java
Ans. 1. JVM that makes it platform independent and facilitates portability.
2. Garbage Collector that protects from Memory Leaks.
3. Only usage of references and not pointer arithmetic and hence protects the application from memory issues like dangling pointers, memory leaks etc.
4. Support for OOPs that makes application development and maintenance easy.
5. Facilitates library development through use of interface / abstract classes.
6. Facilitates creation of scalable applications.
7. Huge repository of libraries and pool of people with java skill. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  benefits of java  advantages of java basic   frequent