Filter interviews by
I applied via LinkedIn and was interviewed in Feb 2024. There was 1 interview round.
Arrays and objects are data structures used in programming to store multiple values or properties.
Arrays are ordered collections of values accessed by index.
Objects are collections of key-value pairs where values are accessed by keys.
Example of array: $colors = ['red', 'blue', 'green'];
Example of object: $person = ['name' => 'John', 'age' => 30];
Types of arrays include indexed arrays, associative arrays, and multidimensional arrays.
Indexed arrays: numerically indexed arrays where each element is assigned a number starting from 0. Example: ['apple', 'banana', 'orange']
Associative arrays: arrays where each element is assigned a specific key. Example: ['fruit1' => 'apple', 'fruit2' => 'banana']
Multidimensional arrays: arrays within arrays. Example: [['apple', 'ba...
Use a MySQL query to select data with employee name, code, and their manager using manager_id as foreign key.
Use JOIN to connect the employee and manager tables based on the manager_id foreign key
Select the employee name, code, and manager's name using appropriate aliases
Make sure to specify the table names and columns correctly in the query
Rotate array elements based on number of loops specified.
Create a new array by slicing the original array based on the number of loops specified.
Concatenate the sliced array with the remaining elements of the original array.
Handle edge cases where the number of loops is greater than the array length by using modulo operator.
Top trending discussions
I applied via Naukri.com and was interviewed in Feb 2021. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Jun 2020. There were 6 interview rounds.
I applied via Campus Placement and was interviewed before Nov 2019. There were 4 interview rounds.
Java is a high-level programming language known for its platform independence and object-oriented approach.
Java is widely used for developing desktop, web, and mobile applications.
It is known for its robustness, security, and scalability.
Java programs are compiled into bytecode that can run on any Java Virtual Machine (JVM).
It supports multithreading, exception handling, and automatic memory management.
Popular framewor...
I applied via Campus Placement and was interviewed before Aug 2020. There were 4 interview rounds.
Collections are data structures that store and manipulate groups of objects.
Collections provide a way to organize and manage large amounts of data
They can be used to perform operations on groups of objects, such as sorting or searching
Examples of collections include arrays, lists, sets, and maps
Java 8 introduces lambda expressions, functional interfaces, streams, and default methods.
Lambda expressions allow functional programming in Java
Functional interfaces enable the use of lambda expressions
Streams provide a concise way to perform operations on collections
Default methods allow interfaces to have implementation
Date and Time API improvements
Nashorn JavaScript engine
Spring Boot is a framework for building standalone, production-grade Spring-based applications.
Spring Boot simplifies the process of creating and deploying Spring-based applications.
It provides a pre-configured environment with a set of opinionated defaults.
It includes embedded servers like Tomcat, Jetty, and Undertow.
It supports a wide range of data sources and data access technologies.
It enables easy integration with...
JPA stands for Java Persistence API, a specification for object-relational mapping in Java applications.
JPA is used to map Java objects to relational database tables.
It provides a set of annotations to define the mapping between Java classes and database tables.
JPA also supports querying data using the Java Persistence Query Language (JPQL).
I applied via Walk-in and was interviewed before Oct 2019. There were 5 interview rounds.
based on 1 interview experience
Difficulty level
Duration
based on 3 reviews
Rating in categories
PHP Developer
3
salaries
| ₹6.1 L/yr - ₹7 L/yr |
TCS
Accenture
Wipro
Cognizant