i
Infosys
Filter interviews by
I applied via Naukri.com and was interviewed in Dec 2022. There were 2 interview rounds.
Yes, if you have enabled the VM deletion protection feature.
If VM deletion protection is enabled, the VM can be recovered within a certain time frame.
If VM deletion protection is not enabled, it is not possible to recover the VM after deletion.
Recovery can be done through the Google Cloud Console or using the gcloud command-line tool.
Recovery is only possible if the VM was not permanently deleted or if the disk was not
What people are saying about Infosys
posted on 29 Jul 2023
I applied via Naukri.com and was interviewed in Oct 2022. There were 3 interview rounds.
Java is a popular programming language used for developing various applications. A variable is a named memory location used to store data.
Java is an object-oriented language
It is platform-independent
Variables in Java have a specific data type
Variables can be assigned values and their values can be changed
Example: int age = 25; String name = "John";
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Inheritance allows code reuse and promotes code organization.
There are different types of inheritance: single inheritance, multiple inheritance, multilevel inheritance, and hierarchical inheritance.
Single inheritance involves a class inheriting from a single base class.
Multiple inheritance involves...
Inheritance is acquiring properties of parent class to child class without changing parent class properties. It is classified into 5 types.
Inheritance is a way to reuse code and establish a relationship between classes
The 'extends' keyword is used to implement inheritance in Java
Examples of inheritance include a 'Car' class inheriting properties from a 'Vehicle' class
Single level inheritance involves one parent class a...
May I about you ? Which your qualification and which stream
I was interviewed in Feb 2023.
I applied via Naukri.com and was interviewed in Sep 2022. There were 3 interview rounds.
Technical assignment in my project and my technical skills
I applied via Campus Placement and was interviewed in Nov 2021. There were 3 interview rounds.
They will give you one topic and you want to speak about it .
I applied via Naukri.com and was interviewed in Jan 2022. There were 3 interview rounds.
Development life cycles are processes used to plan, design, build, test, and deploy software applications.
There are several development life cycles, including Waterfall, Agile, and DevOps.
The Waterfall model is a linear approach where each phase must be completed before moving on to the next.
Agile methodologies focus on iterative development and continuous feedback.
DevOps combines development and operations to create a...
I prefer not to disclose my current or expected salary as it is not relevant to my qualifications and experience.
I believe that my skills and experience are more important than my current or expected salary
I am open to discussing compensation that is fair and competitive for the role and my qualifications
I am more interested in the opportunity to work on challenging projects and grow my skills
I would like to focus on h...
I applied via Job boards and was interviewed in Sep 2021. There were 4 interview rounds.
Use a physical medium like a USB drive or a portable storage device to transfer the file.
Physically carry the file on a USB drive or portable storage device.
Use a local network connection to transfer the file between the two floors.
Utilize Bluetooth or other wireless technologies to transfer the file.
If the distance is short, use a physical method like printing the file and physically handing it over.
JVM stands for Java Virtual Machine. It is an abstract machine that enables a computer to run Java programs.
JVM is responsible for interpreting the compiled Java code and executing it on the computer.
It provides a platform-independent environment for Java programs to run on different operating systems.
JVM has various components like Class Loader, Bytecode Verifier, Just-In-Time Compiler, and Garbage Collector.
Examples ...
JDK memories are areas of memory used by Java programs to store data and code.
JDK memories include heap memory, stack memory, and non-heap memory.
Heap memory is used to store objects and is managed by the garbage collector.
Stack memory is used to store method calls and local variables.
Non-heap memory is used to store class definitions and other data.
Examples of non-heap memory include the method area and the permanent ...
I applied via Naukri.com and was interviewed in Apr 2021. There was 1 interview round.
finally is used to execute a block of code after try-catch block, while static block is executed when class is loaded.
finally block is used to perform cleanup operations like closing database connections, file streams etc.
static block is used to initialize static variables or perform any other static initialization.
finally block is always executed whether an exception is thrown or not, while static block is executed on...
The @Autowired annotation in Spring is used to automatically wire dependencies into a bean.
It eliminates the need for manual wiring of dependencies
It can be used to inject dependencies into constructors, fields, and methods
It can be used with other annotations like @Qualifier and @Value
It can be used with both XML and Java-based configurations
To make a class immutable in Java, we need to follow certain guidelines.
Make the class final
Make all fields private and final
Do not provide setter methods
If the field is mutable, return a clone of it instead of the original object
Ensure that any mutable objects passed to the constructor are not modified outside the class
Collections are data structures that store and manipulate groups of objects.
Collections provide a way to manage and manipulate groups of objects
Java provides several built-in collection classes such as ArrayList, LinkedList, HashSet, etc.
Collections can be used to perform operations like searching, sorting, filtering, etc.
Collections can store objects of any type, including primitive types and user-defined classes
ArrayList and Vector are similar but Vector is synchronized while HashMap and HashTable are both key-value pair data structures but HashTable is synchronized.
ArrayList and Vector both implement List interface but Vector is thread-safe while ArrayList is not.
Vector is slower than ArrayList due to synchronization.
HashMap and HashTable both store key-value pairs but HashTable is thread-safe while HashMap is not.
HashMap al...
Rest Api is a web service that uses HTTP methods to access and manipulate data.
Rest stands for Representational State Transfer
It is an architectural style for building web services
Uses HTTP methods like GET, POST, PUT, DELETE
Data is transferred in JSON or XML format
Examples: Twitter API, Facebook Graph API
Program to add numbers in harmonic series (1+1/2+1/3+...+1/n)
Create a variable to store the sum
Use a loop to iterate through the series up to n
Add each term to the sum
Print the sum
I applied via Company Website and was interviewed in Dec 2020. There were 3 interview rounds.
System.out.println is a Java statement used to print output to the console.
System is a class in Java's core library.
out is a static member of the System class.
println is a method of the PrintStream class.
It is used to print output to the console.
It adds a newline character at the end of the output.
Static or final method is a method that belongs to a class rather than an instance of the class.
Static method can be called without creating an instance of the class.
Final method cannot be overridden by a subclass.
Static and final methods can be accessed using the class name.
Example: Math.max() is a static method in the Math class.
Example: String.toUpperCase() is a final method in the String class.
A collection is a group of objects that can be stored, manipulated, and retrieved as a single unit.
Collections are used to store and manage groups of related objects.
Java provides several built-in collection classes such as ArrayList, LinkedList, HashSet, etc.
Collections can be used to perform operations like sorting, searching, filtering, and more.
Collections can be generic or non-generic, depending on the type of obj
Yes, we can add string or integer value using map in Java.
We can use put() method to add values to a map.
For string values, we can use String as the value type.
For integer values, we can use Integer as the value type.
Example: Map
Example: Map
Sleep method pauses the thread for a specified time, while wait method pauses the thread until notified.
Sleep method is a static method of Thread class, while wait method is an instance method of Object class.
Sleep method does not release the lock on the object, while wait method releases the lock and waits for notification.
Sleep method can be interrupted by another thread, while wait method can only be interrupted by ...
Join in SQL is used to combine rows from two or more tables based on a related column between them.
Join is used to retrieve data from multiple tables in a single query
Types of join include inner join, left join, right join, and full outer join
Join condition is specified using ON keyword
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column
Join can also be used with subqueries
SQL queries are used to retrieve, manipulate and manage data stored in relational databases.
SQL stands for Structured Query Language
Queries can be used to retrieve specific data from tables
Queries can also be used to update, insert or delete data
Examples of SQL queries include SELECT, INSERT, UPDATE and DELETE
Understanding SQL is important for working with databases in Java
Abstraction is a concept of hiding implementation details while interface is a contract that defines the behavior of a class.
Abstraction is achieved through abstract classes and methods
Interface is a collection of abstract methods and constants
Abstraction allows for flexibility in implementation
Interface allows for multiple inheritance
Abstraction is used for code reusability
Interface is used for achieving polymorphism
Overloading is when multiple methods have the same name but different parameters. Overriding is when a subclass provides a different implementation of a method inherited from its superclass.
Overloading is resolved at compile-time based on the method signature.
Overriding is resolved at runtime based on the actual object type.
Overloading is used to provide different ways to call a method with different parameters.
Overrid...
based on 1 interview
Interview experience
Technology Analyst
55.8k
salaries
| ₹3 L/yr - ₹11 L/yr |
Senior Systems Engineer
50.5k
salaries
| ₹2.8 L/yr - ₹7.8 L/yr |
System Engineer
39.5k
salaries
| ₹2.5 L/yr - ₹5.5 L/yr |
Technical Lead
30.8k
salaries
| ₹5.2 L/yr - ₹19.5 L/yr |
Senior Associate Consultant
27.8k
salaries
| ₹6.2 L/yr - ₹17 L/yr |
TCS
Wipro
Cognizant
Accenture