Filter interviews by
I applied via Naukri.com and was interviewed before Jan 2022. There were 4 interview rounds.
Java coding test programs
For fresher aptitude is compulsory.
Basic core java question.
Top trending discussions
I applied via Referral and was interviewed in Nov 2024. There were 3 interview rounds.
Simple logical based
Palindrome
Reverse a string
The four pillars of Object-Oriented Programming (OOP) are Abstraction, Encapsulation, Inheritance, and Polymorphism.
Abstraction: Hides complex implementation details and only shows the necessary features to the outside world.
Encapsulation: Bundles data and methods that operate on the data into a single unit, preventing direct access to data from outside the class.
Inheritance: Allows a new class to inherit properties an...
I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.
Separate 0 and 1 and then store in the sme array
I applied via Job Fair and was interviewed in Jul 2024. There were 2 interview rounds.
Seeking new challenges and growth opportunities in a dynamic environment.
Desire for professional growth
Seeking new challenges
Interested in a more dynamic work environment
ArrayList is implemented as a resizable array, while LinkedList is implemented as a doubly linked list.
ArrayList provides fast random access, LinkedList provides fast insertion and deletion.
ArrayList uses more memory as it needs to allocate a fixed size array, LinkedList uses more memory for storing references to the next and previous elements.
Example: ArrayList is better for scenarios where random access is required, ...
HashMap is non-synchronized and allows null values, while HashTable is synchronized and does not allow null values.
HashMap is non-synchronized, meaning it is not thread-safe, while HashTable is synchronized and thread-safe.
HashMap allows null values for both keys and values, while HashTable does not allow null keys or values.
HashMap is faster than HashTable as it is non-synchronized, but HashTable is preferred in multi...
The contract between hashCode and equals method is that if two objects are equal according to the equals method, then their hash codes must also be equal.
hashCode and equals method must be consistent - if two objects are equal according to equals method, their hash codes must be equal
If two objects have the same hash code, they may or may not be equal according to equals method
Overriding equals method in a class requir...
Java 8 introduced several new features including lambda expressions, functional interfaces, streams, and default methods in interfaces.
Lambda expressions allow you to pass functions as arguments.
Functional interfaces have a single abstract method and can be used with lambda expressions.
Streams provide a way to work with sequences of elements.
Default methods allow interfaces to have method implementations.
Ways to start a thread in Java
Extending the Thread class and overriding the run() method
Implementing the Runnable interface and passing it to a Thread object
Using a thread pool from the Executors class
The thread will continue running as it is already active
The thread will not be started again if it is already running
Attempting to start a thread that is already running will not have any effect
The thread will continue its execution without any interruption
Join method is used to wait for a thread to finish its execution, while sleep method is used to pause the execution of a thread for a specified amount of time.
Join method is used to wait for a thread to finish its execution before moving on to the next task.
Sleep method is used to pause the execution of a thread for a specified amount of time, allowing other threads to run.
Example: thread1.join() will wait for thread1 ...
I was interviewed in Jul 2024.
Microservices can introduce complexity, communication overhead, and potential performance issues.
Increased complexity due to managing multiple services
Communication overhead between services
Potential performance issues due to network latency
Difficulty in maintaining consistency across services
No, @FunctionalInterface cannot be extended. Map and flatMap are default methods in the interface and cannot be overridden.
No, @FunctionalInterface cannot be extended as it is a single abstract method interface.
Map and flatMap are default methods in the interface and cannot be overridden.
Example: public interface MyInterface { void myMethod(); default void myDefaultMethod() { // implementation } }
Some of the top questions asked at the Virinchi Technologies Java Developer interview -
based on 18 reviews
Rating in categories
Java Developer
104
salaries
| ₹1.5 L/yr - ₹6.6 L/yr |
Quality Analyst
96
salaries
| ₹1.5 L/yr - ₹6.6 L/yr |
Senior Quality Analyst
60
salaries
| ₹3.5 L/yr - ₹9.1 L/yr |
Software Developer
50
salaries
| ₹2 L/yr - ₹8.3 L/yr |
System Administrator
33
salaries
| ₹2 L/yr - ₹5.8 L/yr |
TCS
Infosys
Wipro
HCLTech