Filter interviews by
I applied via Company Website and was interviewed before Oct 2022. There were 3 interview rounds.
I applied via Company Website and was interviewed in Jun 2021. There was 1 interview round.
Skin color should not be a factor in recruiting as it promotes discrimination and limits diversity.
Recruiting should be based on qualifications and skills, not skin color.
Diversity in the workplace leads to a wider range of perspectives and ideas.
Discrimination based on skin color is illegal and unethical.
Examples of successful companies with diverse workforces include Google, Apple, and Microsoft.
I applied via Recruitment Consultant and was interviewed before Feb 2020. There were 4 interview rounds.
Top trending discussions
I applied for this internship because I am passionate about gaining practical experience in the field and developing my skills.
Passionate about gaining practical experience
Desire to develop skills in the field
Opportunity to learn from professionals
Interest in the company's work and values
The newspaper contains news articles, opinion pieces, advertisements, and other information.
News articles covering current events
Opinion pieces discussing various topics
Advertisements for products and services
Sports section with updates on games and matches
Weather forecast for the day
Local events and community news
Business section with stock market updates
Entertainment section featuring movie reviews and celebrity news
I applied via Referral and was interviewed before Oct 2020. There were 4 interview rounds.
IHG is a multinational hospitality company that owns and operates several hotel brands worldwide.
IHG stands for InterContinental Hotels Group
It was founded in 2003 and is headquartered in Denham, UK
IHG owns and operates several hotel brands including InterContinental, Crowne Plaza, Holiday Inn, and Kimpton Hotels & Restaurants
It has over 5,900 hotels in nearly 100 countries
IHG is one of the largest hotel companies in t
I applied via Company Website and was interviewed before Sep 2021. There were 2 interview rounds.
I applied via Referral and was interviewed before Dec 2021. There were 2 interview rounds.
I was interviewed in Feb 2025.
ArrayList is a resizable array, while LinkedList is a doubly linked list. Choose based on performance needs.
ArrayList: Faster for random access (O(1)). Example: list.get(5);
LinkedList: Faster for insertions/deletions (O(1)) at both ends. Example: list.addFirst('A');
ArrayList: Uses less memory overhead compared to LinkedList.
LinkedList: Better for frequent insertions/deletions in the middle of the list.
ArrayList: Requir...
Java's synchronized keyword provides thread safety but has limitations compared to ReentrantLock.
Advantages of synchronized: Simple to use, built-in language feature.
Disadvantages of synchronized: Can lead to thread contention, no timeout options.
ReentrantLock allows more flexibility: supports tryLock(), lockInterruptibly().
ReentrantLock can be more efficient in high contention scenarios.
Example of synchronized: synchr...
== checks reference equality, while .equals() checks value equality in Java. Use .equals() for content comparison.
== compares object references (memory addresses). Example: String a = new String('test'); String b = new String('test'); a == b returns false.
.equals() compares actual content of objects. Example: a.equals(b) returns true.
Use == for primitive types (int, char, etc.) and .equals() for objects.
Improper use of...
Java's garbage collector automatically manages memory by reclaiming unused objects, improving performance and preventing memory leaks.
Garbage Collection (GC) is the process of automatically identifying and disposing of objects that are no longer needed.
Java uses several GC algorithms, including Serial, Parallel, CMS (Concurrent Mark-Sweep), and G1 (Garbage-First).
The Serial GC is a simple, single-threaded collector sui...
Java 8 introduced lambdas, Stream API, and other features that enhance functional programming and improve code readability.
Lambdas: Enable concise representation of functional interfaces. Example: (x, y) -> x + y.
Stream API: Allows processing sequences of elements (collections) in a functional style. Example: list.stream().filter(x -> x > 10).collect(Collectors.toList()).
Default Methods: Interfaces can have me...
Checked exceptions must be declared or handled; unchecked exceptions do not require explicit handling.
Checked exceptions are subclasses of Exception but not of RuntimeException.
Example of checked exception: IOException, which must be caught or declared.
Unchecked exceptions are subclasses of RuntimeException.
Example of unchecked exception: NullPointerException, which does not need to be declared.
Checked exceptions are t...
The Java Memory Model defines how threads interact through memory, ensuring visibility and ordering of shared variables.
The Java Memory Model (JMM) specifies how threads interact with memory, ensuring consistency and visibility of shared variables.
It defines rules for visibility, atomicity, and ordering of operations in a multithreaded environment.
Without proper synchronization, threads may see stale or inconsistent da...
Method overloading allows multiple methods with the same name but different parameters; overriding allows subclass methods to replace superclass methods.
Method Overloading: Same method name, different parameter types or counts.
Example of Overloading: 'int add(int a, int b)' and 'double add(double a, double b)'.
Use Overloading for convenience and readability when performing similar operations.
Method Overriding: Same met...
Functional interfaces in Java are interfaces with a single abstract method, enabling lambda expressions for concise code.
A functional interface has exactly one abstract method.
They can have multiple default or static methods.
Common examples include Runnable, Callable, and Comparator.
Lambda expressions provide a clear and concise way to implement functional interfaces.
Example of a custom functional interface: @Functiona...
Java Streams provide a functional approach to processing sequences of elements, unlike Iterators which are imperative.
Streams are part of the Java 8+ API, enabling functional-style operations on collections.
Unlike Iterators, Streams do not store data; they process data on-the-fly.
Streams support operations like map, filter, and reduce, allowing for concise and readable code.
Example: List<String> names = Arrays.as...
Immutability in Java means objects cannot be modified after creation, enhancing security and performance.
1. Immutability: Once created, an object's state cannot be changed.
2. String Class: Strings in Java are immutable; any modification creates a new String object.
3. Example: String s1 = "Hello"; s1 = s1 + " World!"; // s1 now points to a new String object.
4. Advantages: Thread-safe, easier to cache, and can be used as...
final, finally, and finalize serve different purposes in Java: variable declaration, exception handling, and garbage collection respectively.
final: Used to declare constants. Example: final int MAX_VALUE = 100;
finally: Block that executes after try-catch, regardless of exceptions. Example: try { ... } catch { ... } finally { ... }
finalize: Method called by the garbage collector before an object is removed. Example: pro
The Singleton pattern restricts instantiation of a class to one object, ensuring controlled access to that instance.
1. The Singleton pattern ensures a class has only one instance and provides a global point of access to it.
2. Common implementations include lazy initialization, eager initialization, and double-checked locking.
3. Lazy initialization: Create the instance when it is needed, using synchronized method for th...
Java annotations provide metadata for classes, methods, and fields, enhancing functionality in frameworks like Spring.
Annotations are metadata that provide information about the program but are not part of the program itself.
In Spring, annotations like @Component, @Service, and @Controller are used for defining beans and their roles.
Built-in annotations include @Override, @Deprecated, and @SuppressWarnings, which serve...
Java Streams enable parallel processing for efficient data handling but come with potential pitfalls that need careful management.
Java Streams can be processed in parallel using the 'parallelStream()' method, which divides the workload across multiple threads.
Parallel streams utilize the Fork/Join framework, allowing tasks to be split and executed concurrently, improving performance for large datasets.
Potential pitfall...
== checks reference equality; .equals() checks value equality, can be overridden for custom comparison.
== compares memory addresses: new String("hello") == new String("hello") returns false.
.equals() compares actual content: "hello".equals("hello") returns true.
Override equals() when logical equality differs from reference equality, e.g., in custom classes.
When overriding equals(), also override hashCode() to maintain ...
I applied via Walk-in and was interviewed in Oct 2022. There were 3 interview rounds.
Practical case solving about the work you are applying for
based on 1 interview
Interview experience
based on 8 reviews
Rating in categories
Commis Chef
4
salaries
| ₹0 L/yr - ₹0 L/yr |
Electrician
3
salaries
| ₹0 L/yr - ₹0 L/yr |
Taj Hotels Resorts and Palaces
Oberoi Group of Hotels
ITC Hotels
THE LEELA PALACES HOTELS & RESORTS