Add office photos
Engaged Employer

Torry Harris Integration Solutions

4.2
based on 582 Reviews
Video summary
Filter interviews by

10+ ICICI Bank Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. Program to split the two strings

Ans.

Program to split two strings into an array of strings

  • Use the split() method to split the strings

  • Specify the delimiter to split the strings

  • Store the split strings in an array

Add your answer

Q2. Why this() is used in java

Ans.

this() is used in Java to call a constructor of the same class.

  • this() can be used to call a constructor with default arguments.

  • It can also be used to call a constructor with specific arguments.

  • this() must be the first statement in a constructor.

  • It can only be used inside a constructor.

  • Example: public MyClass(int x) { this(x, 0); }

  • Example: public MyClass(int x, int y) { this.x = x; this.y = y; }

Add your answer

Q3. All concepts in oops

Ans.

Object-oriented programming concepts including encapsulation, inheritance, polymorphism, and abstraction.

  • Encapsulation: bundling data and methods that operate on that data within a single unit

  • Inheritance: creating new classes from existing ones, inheriting their properties and methods

  • Polymorphism: ability of objects to take on multiple forms, often achieved through method overriding

  • Abstraction: hiding implementation details and only exposing necessary information to users

Add your answer

Q4. Call by reference vs call by value

Ans.

Call by reference passes the address of the variable while call by value passes the value itself.

  • Call by reference allows the function to modify the original variable

  • Call by value creates a copy of the variable for the function to use

  • Call by reference is more memory efficient for large data types

  • Call by value is safer as it prevents unintended changes to the original variable

Add your answer
Discover ICICI Bank interview dos and don'ts from real experiences

Q5. Garbage collection in java

Ans.

Garbage collection is an automatic memory management process in Java.

  • Garbage collection frees up memory by removing objects that are no longer in use.

  • Java uses a mark-and-sweep algorithm to identify and remove unused objects.

  • The System.gc() method can be used to suggest garbage collection, but it is not guaranteed to run immediately.

  • Garbage collection can impact performance, so it is important to optimize code to minimize unnecessary object creation.

Add your answer

Q6. Any idea on git

Ans.

Git is a version control system used for tracking changes in code and collaborating with others.

  • Git allows for branching and merging of code

  • It tracks changes made to code over time

  • It allows for collaboration with others on the same codebase

  • Git can be used for both personal and professional projects

Add your answer
Are these interview questions helpful?

Q7. Structure vs union

Ans.

Structures and unions are used to group related data members in a program.

  • Structures are used to group related data members of different data types.

  • Unions are used to group related data members of the same data type.

  • Structures allocate memory for each data member, while unions allocate memory for the largest data member.

  • Structures are used when all data members need to be accessed separately, while unions are used when only one data member needs to be accessed at a time.

Add your answer

Q8. 3) What are call by reference and call by value?

Ans.

Call by reference and call by value are two ways of passing arguments to a function.

  • Call by value passes a copy of the argument to the function, while call by reference passes a reference to the original argument.

  • In call by value, changes made to the argument inside the function do not affect the original value, while in call by reference, changes made to the argument inside the function affect the original value.

  • Call by value is used for simple data types like integers and f...read more

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. 4) How do you delete file in python?

Ans.

To delete a file in Python, use the os.remove() method.

  • Import the os module

  • Use os.remove() method to delete the file

  • Specify the file path as the argument to os.remove() method

Add your answer

Q10. 2) What are Pointers?

Ans.

Pointers are variables that store memory addresses of other variables.

  • Pointers allow direct access to memory locations.

  • They can be used to pass values between functions.

  • Pointers can be used to create dynamic data structures.

  • Example: int *ptr; ptr = # *ptr = 10;

  • Example: void swap(int *a, int *b) { int temp = *a; *a = *b; *b = temp; }

Add your answer

Q11. 1) What are Arrays?

Ans.

Arrays are a collection of similar data types stored in contiguous memory locations.

  • Arrays can be of any data type, including integers, floats, characters, and objects.

  • Arrays are accessed using an index starting from 0.

  • Arrays can be one-dimensional, two-dimensional, or multi-dimensional.

  • Example: int arr[5] = {1, 2, 3, 4, 5};

  • Example: char str[6] = {'H', 'e', 'l', 'l', 'o', '\0'};

Add your answer

Q12. What are pointers and related topics

Ans.

Pointers are variables that store memory addresses. They are used to manipulate data and create dynamic data structures.

  • Pointers are used to pass memory addresses as arguments to functions

  • They can be used to dynamically allocate memory

  • Pointers can be used to create linked lists and trees

  • They can also be used to access hardware directly

  • Null pointers are used to indicate that a pointer does not point to a valid memory address

Add your answer

Q13. swapping of numbers program and explanation

Add your answer

Q14. What are storage specifiers

Ans.

Storage specifiers are keywords used in programming languages to define the scope and lifetime of variables.

  • Storage specifiers determine where a variable is stored in memory and how long it will exist.

  • Examples of storage specifiers include 'static', 'auto', 'register', and 'extern'.

  • Static variables have a lifetime that lasts for the entire program execution, while auto variables have a lifetime that lasts only within the block in which they are defined.

  • Register variables are ...read more

Add your answer

Q15. palandrome number program and explanation

Ans.

A palindrome number program checks if a number reads the same forwards and backwards.

  • Create a function that takes a number as input

  • Convert the number to a string to easily compare characters

  • Check if the string is equal to its reverse to determine if it's a palindrome

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at ICICI Bank

based on 12 interviews
Interview experience
4.3
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.5
 • 435 Interview Questions
3.9
 • 198 Interview Questions
4.3
 • 191 Interview Questions
4.2
 • 165 Interview Questions
4.3
 • 135 Interview Questions
3.4
 • 134 Interview Questions
View all
Top Torry Harris Integration Solutions Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter