Filter interviews by
I applied via Job Fair and was interviewed in Jun 2024. There were 2 interview rounds.
There were 50 MCQs of java
JDK is Java Development Kit, JVM is Java Virtual Machine. Reversing a string involves flipping the characters in a string.
JDK is a software development kit used for developing Java applications.
JVM is a virtual machine that executes Java bytecode.
To reverse a string, you can use a loop to iterate through the characters and build a new string in reverse order.
Top trending discussions
In Java, == compares memory addresses while .equals() compares the actual content of objects.
== compares memory addresses of objects, while .equals() compares the actual content of objects.
== is used to compare primitive data types, while .equals() is used to compare objects.
Example: String str1 = new String("hello"); String str2 = new String("hello"); str1 == str2 will be false, but str1.equals(str2) will be true.
In Java, == compares object references, while .equals() compares object values.
Use == to compare if two object references point to the same memory location.
Use .equals() to compare if two objects have the same values.
Example: String str1 = new String("hello"); String str2 = new String("hello"); str1 == str2 will be false, but str1.equals(str2) will be true.
I applied via Naukri.com and was interviewed in Jan 2022. There were 2 interview rounds.
The volatile keyword in Java is used to indicate that a variable's value will be modified by different threads.
Ensures visibility of changes made by one thread to other threads
Prevents compiler optimizations that could reorder instructions
Useful for variables accessed by multiple threads without synchronization
Example: volatile boolean flag = true;
JAVA stands for Java Virtual Machine
JAVA stands for Java Virtual Machine
It is a programming language that follows the principle of 'write once, run anywhere'
Java code is compiled into bytecode which can run on any platform with Java Virtual Machine (JVM)
Examples of Java applications include web applications, mobile apps, and enterprise software
D/W Hashmap and ConcurrentHashmap are both implementations of the Map interface in Java, with the latter being thread-safe.
D/W Hashmap stands for 'Doubly-Linked Hashmap' and is a custom implementation of a hashmap in Java that maintains insertion order.
ConcurrentHashmap is a thread-safe implementation of the Map interface in Java, allowing multiple threads to access and modify it concurrently without causing data corru
HashMap is not synchronized and not thread-safe, while ConcurrentHashMap is thread-safe and allows concurrent access.
HashMap is not synchronized, so it is not safe to use in a multi-threaded environment without external synchronization.
ConcurrentHashMap uses internal synchronization mechanisms to ensure thread safety, allowing multiple threads to access and modify it concurrently.
ConcurrentHashMap is designed to handle...
In Java, == compares memory addresses while .equals() compares the actual content of objects.
== is used to compare memory addresses of objects, while .equals() is used to compare the actual content of objects.
== is used for primitive data types comparison, while .equals() is used for object comparison.
Example: String str1 = new String("hello"); String str2 = new String("hello"); str1 == str2 will return false, but str1
The difference between == and equals() in Java for comparing object references and values.
Use == to compare object references (memory location)
Use equals() to compare object values
Example: String str1 = new String("hello"); String str2 = new String("hello"); str1 == str2 will be false, but str1.equals(str2) will be true
Java stands for Just Another Virtual Machine
Java stands for Just Another Virtual Machine
It is a high-level programming language developed by Sun Microsystems
Java code is compiled into bytecode that runs on any Java Virtual Machine (JVM)
Java is a high-level, object-oriented programming language known for its portability and versatility.
Java is platform-independent, meaning it can run on any device with a Java Virtual Machine (JVM)
It is object-oriented, allowing for modular and reusable code
Java is known for its robust standard library, which includes tools for networking, data structures, and more
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Associate Software Developer
10
salaries
| ₹2 L/yr - ₹4 L/yr |
Technical Support Executive
7
salaries
| ₹1.3 L/yr - ₹4.5 L/yr |
Software Developer
6
salaries
| ₹1.8 L/yr - ₹4.2 L/yr |
Business Analyst
6
salaries
| ₹2.9 L/yr - ₹4 L/yr |
SQL Developer
6
salaries
| ₹2 L/yr - ₹10 L/yr |
Northcorp Software
Apex CoVantage
Appsierra
Teleindia Networks