What is ReactJS?

React is an open-source JavaScript library created by Facebook for building complex, interactive UIs in web and mobile applications. React’s core purpose is to build UI components; it is often referred to as just the “V” (View) in an “MVC” architecture.

What is Transpiling in Angular?

Transpiling is the process of converting typescript into javascript (using Traceur, a JS compiler). Though typescript is used to write code in Angular applications, the code is internally transpiled into javascript.

What is a firewall?

A firewall is a device that allows/blocks traffic as per a defined set of rules. These are placed on the boundary of trusted and untrusted networks.

Explain CodingKey Protocol

The CodingKeys enum (Protocol) lets you rename specific properties in case the serialized format doesn't match the requirements of the API. CodingKeys should have nested enum.

What are main differences between an API and a Web Service?

All Web services are APIs but not all APIs are Web services.

Web services might not contain all the specifications and cannot perform all the tasks that APIs would perform.

A Web service uses only three styles of use: SOAP, REST and XML-RPC for communication whereas API may be exposed to in multiple ways.

A Web service always needs a network to operate while APIs don’t need a network for operation.


Explain static functions in Java

Execution of static functions happens only once, and are executed even before the execution of Constructors of a class.