Filter interviews by
posted on 5 Jun 2023
I applied via Walk-in and was interviewed in May 2023. There were 2 interview rounds.
An array is a data structure that stores a collection of elements of the same type. The index of an array is the position of an element within the array.
Arrays are used to store multiple values in a single variable.
To find the index of an element in an array, you can use the indexOf() method.
Example: String[] array = {"apple", "banana", "orange"}; int index = Arrays.asList(array).indexOf("banana");
Shared Preference is a way to store key-value pairs in Android applications.
Used to store small amounts of data locally on the device
Data persists even after the app is closed
Can be used to store user preferences, settings, etc.
Example: Storing user login credentials
The Android lifecycle refers to the series of states an app goes through from when it is first launched to when it is closed.
The Android lifecycle includes states such as onCreate, onStart, onResume, onPause, onStop, and onDestroy.
Activities and fragments have their own lifecycle methods that are called at different points in the overall app lifecycle.
Understanding the Android lifecycle is important for managing resour...
A fragment is a modular section of an activity that has its own lifecycle, layout, and behavior.
Fragments are reusable components that can be used in multiple activities.
They can be added or removed from an activity dynamically.
Fragments allow for better organization and reusability of code.
Examples include a navigation drawer, a list of items, or a settings screen.
Data can be passed between activities using Intent and Bundle.
Create an Intent object in the sending activity
Add data to the Intent using putExtra() method
Start the new activity by calling startActivity() with the Intent
Retrieve the data in the receiving activity using getIntent() and getExtra()
Top trending discussions
posted on 9 Jan 2024
I applied via Recruitment Consulltant and was interviewed in Dec 2023. There were 3 interview rounds.
Higher Order and Lambda Functions in Kotlin
Higher order functions are functions that take other functions as parameters or return functions
Lambda functions are anonymous functions that can be used as arguments or return values in higher order functions
They provide a concise way to write code and enable functional programming in Kotlin
Multi Modular Project structure is an architectural approach that divides an application into multiple modules for better organization and scalability.
Divide the application into separate modules based on functionality or features.
Each module should have its own set of code, resources, and dependencies.
Modules can communicate with each other through defined interfaces or APIs.
Modularization helps in code reusability, e...
Null pointer prevention and type safety in Kotlin
Kotlin uses nullable and non-nullable types to prevent null pointer exceptions
The safe call operator '?' can be used to safely access nullable variables
The '!!' operator can be used to explicitly throw a null pointer exception
Kotlin's type system ensures type safety by checking types at compile-time
posted on 12 Sep 2022
I applied via Campus Placement and was interviewed in Aug 2022. There were 2 interview rounds.
By Tcs hiring process
Some dsa questions
Like based on kadane algorithm
And some implementations based questions
I applied via Job Portal and was interviewed in Mar 2024. There was 1 interview round.
Objective-C is the older language used for iOS development, while Swift is the newer, more modern language.
Objective-C is a superset of C with Smalltalk-style messaging syntax.
Swift is more concise and easier to read than Objective-C.
Swift is safer due to its optionals and type interference features.
Objective-C has been around longer and has a larger codebase, but Swift is becoming more popular.
Many developers prefer S...
I applied via Job Portal and was interviewed in Feb 2024. There was 1 interview round.
Use counting sort algorithm to achieve O(n) time complexity.
Count the frequency of each string in the array.
Create a new array based on the frequency counts.
Iterate through the new array to reconstruct the sorted array.
Coding test based on array
I applied via Approached by Company and was interviewed in May 2023. There were 3 interview rounds.
HR Executive
3
salaries
| ₹3 L/yr - ₹3 L/yr |
Android App Developer
3
salaries
| ₹2 L/yr - ₹3 L/yr |
Digital Marketer
3
salaries
| ₹6 L/yr - ₹11 L/yr |
Accenture
Bajaj Finserv Health
Tablets (India)
Jio