i
Eonlint
Filter interviews by
Some array questions.
Create a timer with stop, start, restart, and reset functionality.
Create a variable to store the timer value.
Use setInterval() to update the timer value every second.
Implement functions for start, stop, restart, and reset.
Example: let timer = 0; setInterval(() => { timer++; }, 1000);
Top trending discussions
posted on 22 Apr 2024
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
In Java, == is used for comparing reference equality, while .equals() is used for comparing object equality.
== compares memory addresses of two objects
.equals() compares the actual contents of the objects
For primitive data types, == compares values, while for objects, it compares references
Example: String str1 = new String("hello"); String str2 = new String("hello"); str1 == str2 will be false, but str1.equals(str2) wi
HashMap is non-synchronized and not thread-safe, while HashTable is synchronized and thread-safe.
HashMap allows null values and one null key, while HashTable does not allow null keys or values.
HashMap is faster than HashTable as it is non-synchronized, but HashTable is safer for use in multi-threaded environments.
HashMap is part of the Java Collections Framework, while HashTable is a legacy class.
HashMap allows null values and one null key, while HashTable does not allow null values.
HashMap allows null values and one null key, while HashTable does not allow null values.
HashMap is not synchronized, while HashTable is synchronized.
HashMap is faster than HashTable.
Example: HashMap
Example: HashTable
Different types of development include front-end, back-end, full-stack, mobile, and software engineering.
Front-end development focuses on the user interface and user experience, using languages like HTML, CSS, and JavaScript.
Back-end development involves server-side programming and database management, using languages like Java, Python, and Ruby.
Full-stack development combines both front-end and back-end development sk...
30 mins js coding problem
posted on 9 Jan 2025
General MCQ questions for react js
It was the coding test for the interview
Assignment Round - Complete the assignment within 3 days.
Problems no time and relativity
Packages are a way to organize and group related classes and interfaces in Java.
Packages help in avoiding naming conflicts
Packages provide access protection
Packages can be imported to use classes and interfaces from other packages
Packages follow a naming convention, e.g. com.company.project.module
Examples of Java packages include java.lang, java.util, and java.io
posted on 3 May 2024
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
A final class is a class that cannot be extended or subclassed.
Final classes are often used to prevent inheritance and ensure that the class cannot be modified or extended.
Final classes are typically marked with the 'final' keyword in Java.
Example: 'String' class in Java is a final class, meaning it cannot be extended.
Sort a list of students using Java Stream API
Use the sorted() method to sort the list based on a comparator
Use the Comparator.comparing() method to specify the sorting criteria
Use the collect() method to collect the sorted elements back into a list
Hashtable is synchronized and thread-safe, while Hashmap is not synchronized.
Hashtable is synchronized and thread-safe, while Hashmap is not synchronized.
Hashtable does not allow null keys or values, while Hashmap allows one null key and multiple null values.
Hashtable is slower than Hashmap due to synchronization.
Hashmap is preferred for non-thread-safe applications, while Hashtable is used in multi-threaded environmen
I applied via AmbitionBox and was interviewed in Aug 2022. There was 1 interview round.
Classloading is the process of loading classes into JVM. Classpath is a list of directories and JAR files where classes are stored. Object can be created without new operator using reflection.
Classloading is done by JVM to load classes into memory
Classpath is a list of directories and JAR files where classes are stored
Object can be created without new operator using reflection
Reflection is a mechanism in Java that allo...
I applied via Walk-in and was interviewed before May 2023. There were 2 interview rounds.
Virtual Dom is a lightweight copy of the Real Dom, used for efficient updates in web development.
Virtual Dom is a lightweight copy of the Real Dom, used for efficient updates in web development.
Real Dom represents the actual structure of the web page, while Virtual Dom is a simplified version stored in memory.
Changes made to the Virtual Dom are compared with the Real Dom to determine the minimum number of updates neede...
based on 1 interview
Interview experience
Locofast
QuickRide
Tech Formation
sysotel.ai