Interview Questions and Answers - Order By Newest Q3301. How Object-Oriented Programming is implemented in JavaScript? How they differ from other languages? 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  object oriented programming in javascript  oops in javascript Q3302. Explain interfaces in Typescript. How is it different compared to other languages ? TypeScript
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  interfaces in typescript Q3303. What is the difference between method and function in Typescript ? TypeScript
Ans. Method belongs to a class whereas function isn't. So the only difference is the scope in which they are defined. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  method vs function in typescript Q3304. What is the difference between field and property in Typescript ? TypeScript
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  field vs property in typescript Q3305. How is cohesion achieved in JavaScript ? 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   Q3306. How do we initialize objects in TypeScript ? TypeScript
Ans. Using new operator Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q3307. How do we specify constructors in TypeScript ? How is it different from other languages ? TypeScript
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   Q3308. What is the role of "?" in TypeScript constructors ? TypeScript
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  Typescript constructor Q3309. How can we make the constructor variables optional in Typescript ? TypeScript
Ans. Using "?" with the variables Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q3310. How to debug multi server deployed application ? Debugging
Ans. Choose the server from the list of defined servers under J2EE Server.
Choose the project to debug.
Click Apply to save changes.
Click Debug to start the server and run the application. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  debugging  debugging multi server application Asked in 1 Companies Q3311. What new features of TypeScript do you like ? TypeScript
Ans. TypeScript is used to Apply types to your JavaScript code, And it shows the error in IDE while writing code and make us to fix it to avoid any bug or issue before build and deployment, for example: you put //@ts-code at top of your js file, and it will show errors in file when u make common code mistakes. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3312. What are the advantages of using TypeScript over Javascript ? TypeScript
This question was recently asked at 'Quicken Loans'.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 'Fuze'.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 Q3314. write an angular Typescript program to add item into an array TypeScript
This question was recently asked at 'Moneris'.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 Q3315. What are some downsides to static typing in TypeScript? TypeScript
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 This question was recently asked at 'Intelliware Development'.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 'Wipro'.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 Q3318. How to manage transactions in distributed applications?
This question was recently asked at 'OLMeRO Italy'.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 Q3319. What is the different between collection and Stream Api ? Core Java
Ans. data under collection are actually stored in memory so that they can be retrieved when needed whereas data in streams are not stored and hence we need to construct it again when needed. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  collection classes  stream api  collection vs stream Asked in 1 Companies Q3320. Have you ever done audit logging using log4j ? Log4j
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   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