i
Digiglobe Solutions
Filter interviews by
Elements in an array can be accessed by using their index positions.
Access elements by specifying the index position within square brackets, starting from 0.
For example, to access the first element in an array named 'colors': colors[0] will give the first element.
Loop through the array to access all elements sequentially.
Elements can be deleted from an array using various methods like splice(), pop(), shift(), and filter().
Use splice() method to delete elements by index
Use pop() method to remove the last element
Use shift() method to remove the first element
Use filter() method to create a new array without the elements to be deleted
Top trending discussions
posted on 5 Jun 2021
I applied via Recruitment Consultant and was interviewed in May 2021. There was 1 interview round.
posted on 24 Jun 2022
I applied via Naukri.com and was interviewed in May 2022. There were 2 interview rounds.
Oops concept, basic javascript and react js coding question
posted on 12 Sep 2022
I applied via Naukri.com
posted on 24 May 2024
ConcurrentHashMap is a thread-safe implementation of the HashMap class in Java.
ConcurrentHashMap allows multiple threads to read and write to the map concurrently without causing any data corruption.
It achieves thread-safety by dividing the map into segments, each of which can be locked independently.
ConcurrentHashMap is more efficient than using synchronized collections for concurrent access.
Example: ConcurrentHashMap
Dependency injection is a design pattern where dependencies are provided to a class from the outside, while dependency inversion is a principle that states high-level modules should not depend on low-level modules, but both should depend on abstractions.
Dependency injection is a technique to achieve dependency inversion.
Dependency injection involves providing dependencies to a class from the outside, typically through ...
No, you will not see 2 objects in the set. To insert unique objects to a set, you can override the equals() and hashCode() methods in the object class.
In a set, each element must be unique based on the equals() method. If you add 2 objects with the same attribute values, only one will be stored in the set.
To ensure uniqueness, override the equals() and hashCode() methods in the object class. This will define how object...
Serialisation is the process of converting an object into a format that can be easily stored or transmitted. Externalisation is a way to customize the serialization process. Serializable is an interface in Java that allows objects to be serialized.
Serialisation is the process of converting an object into a format that can be easily stored or transmitted
Externalisation is a way to customize the serialization process
Seri...
Create a generic method to add string or integer to List
Create a generic method that takes a List and an element as input
Use Java generics to specify the type of List and element
Check the type of List and element, then add the element to the List
posted on 17 Jul 2024
Dependency injection is a design pattern in which components are given their dependencies rather than creating them internally.
Dependency injection helps in achieving loose coupling between classes.
It allows for easier testing and swapping of dependencies.
There are three types of dependency injection: constructor injection, setter injection, and interface injection.
SOLID principles are a set of five design principles that help developers create more maintainable and scalable software.
S - Single Responsibility Principle: A class should have only one reason to change.
O - Open/Closed Principle: Software entities should be open for extension but closed for modification.
L - Liskov Substitution Principle: Objects of a superclass should be replaceable with objects of its subclasses with...
posted on 2 Feb 2022
I applied via Campus Placement and was interviewed in Aug 2021. There were 3 interview rounds.
1st round was mixture of aptitude and some psuedo code and the time given was 90 mins for 90 questions.
After clearing the cuttoff there will be 2 coding question one for easy level second will be medium level.
Yes, modern technologies are constantly evolving and I keep myself updated with the latest trends.
I am familiar with cloud computing platforms like AWS, Azure, and Google Cloud
I have experience with containerization using Docker and Kubernetes
I am proficient in programming languages like Python, JavaScript, and Java
I have worked with modern front-end frameworks like React and Angular
I am familiar with DevOps practices ...
posted on 7 Feb 2024
Closures in JavaScript are functions that have access to variables from their outer scope, even after the outer function has finished executing.
Closures are created when a function is defined inside another function.
The inner function has access to the outer function's variables, parameters, and even the outer function's return value.
Closures are useful for creating private variables and data encapsulation.
They can be ...
Props and state are both used in React to manage and pass data, but they have different purposes and behaviors.
Props are read-only and passed from parent components to child components.
State is mutable and managed within a component.
Props are used to pass data from a parent component to a child component.
State is used to manage and update data within a component.
Props are passed as attributes to a component in JSX.
Stat...
Performance optimization involves identifying and resolving bottlenecks to improve the efficiency of software.
Identify and analyze performance bottlenecks
Optimize algorithms and data structures
Improve database performance through indexing and query optimization
Use caching techniques to reduce database and network calls
Minimize network latency by optimizing network requests
Optimize front-end code by reducing DOM manipul...
Class-based components are ES6 classes that extend React.Component, while function-based components are functions that return JSX.
Class-based components are more feature-rich and have access to lifecycle methods.
Function-based components are simpler and easier to read and test.
Class-based components can have state and use lifecycle methods like componentDidMount and componentDidUpdate.
Function-based components can use ...
ES6 (ECMAScript 2015) introduced several new features to JavaScript, enhancing its functionality and making it more efficient.
Arrow functions: concise syntax for writing functions
Let and const: block-scoped variables
Template literals: easier string interpolation
Destructuring assignment: extracting values from arrays or objects
Spread syntax: expanding elements in arrays or objects
Classes: syntactical sugar for creating ...
I applied via Naukri.com and was interviewed in Jun 2021. There were 3 interview rounds.
I applied via Company Website and was interviewed in Mar 2024. There was 1 interview round.
based on 1 interview
Interview experience
based on 1 review
Rating in categories
TCS
Accenture
Wipro
Cognizant