Interview Questions and Answers - Order By Newest Q3321. 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 Q3322. 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 Q3323. 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 Q3324. 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 Q3325. 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   Q3326. 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   Q3327. 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   Q3328. 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   Q3329. 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   Q3330. 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   Q3331. 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   Q3332. 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 Q3333. 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   Q3334. 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   Q3335. 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   Q3336. 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   Q3337. 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 Q3338. 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 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 Q3340. 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 Q3341. 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 Q3342. Is Object Oriented programming a Design pattern ?
Ans. No It's a programming paradigm. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q3343. 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   Q3344. 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   Q3345. 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 Q3346. 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 Q3347. 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 Q3348. 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   Q3349. 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 Q3350. 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