Vrundesha Joshi has Published 345 Articles

What is JavaScript garbage collection?

Vrundesha Joshi

Vrundesha Joshi

Updated on 30-Jul-2019 22:30:21

175 Views

JavaScript automatically allocates memory, while a variable is declared. Garbage collection finds memory no longer used by the application and releases it since it is of no use. Garbage collector uses algorithms like Mark-and-sweep algorithm, to find the memory no longer used.This algorithm is used to free memory when an ... Read More

How to convert Multidimensional PHP array to JavaScript array?

Vrundesha Joshi

Vrundesha Joshi

Updated on 30-Jul-2019 22:30:21

1K+ Views

You can use PHP array in JavaScript. It works for a single as well as the multidimensional array. Use the json_encode() method to achieve this.The following is the Multi-dimensional PHP array.$myArr= array( array('Amit', 'amit@example.com'), array('Rahul, 'rahul@example.com'), );Converting PHP multidimensional array into JavaScript. ... Read More

What is the use of FLUSH PRIVILEGES statement in MySQL?

Vrundesha Joshi

Vrundesha Joshi

Updated on 30-Jul-2019 22:30:21

6K+ Views

Actually, we need to perform flush-privileges operation to tell the server to reload the grant tables. This can be done by issuing FLUSH PRIVILEGES statement or by executing a mysqladmin flush-privileges or mysqladmin reload command. FLUSH PRIVILEGES is really needed if we modify the grant tables directly using such as ... Read More

How are C++ Local and Global variables initialized by default?

Vrundesha Joshi

Vrundesha Joshi

Updated on 30-Jul-2019 22:30:21

496 Views

The following is the same for both local and global variables. Basically, whenever you declare a variable, the compiler will call its default constructor unless you specify otherwise.The language level types (e.g. pointers, 'int', 'float', 'bool', etc) "default constructor" does absolutely nothing, it just leaves the memory as it is ... Read More

Resource routing not working when using SAP Fiori

Vrundesha Joshi

Vrundesha Joshi

Updated on 30-Jul-2019 22:30:20

205 Views

The issue you are facing is because you have created both the applications with the same ID. Hence, the Launchpad is not able to distinguish between them and load into the context.You can change the application Id and all the references of the same to resolve the issue you are ... Read More

Advertisements