Filter interviews by
I applied via Monster and was interviewed in Jan 2022. There were 2 interview rounds.
To write a name program in Eclipse, create a new Java project and class, then write the code to print the name.
Create a new Java project in Eclipse
Create a new class in the project
Write the code to print the name using System.out.println()
Run the program to see the output
To run a Java program, compile the source code into bytecode and execute it using the Java Virtual Machine (JVM).
Compile the source code using the javac command
Execute the bytecode using the java command followed by the name of the class containing the main method
Pass any required command-line arguments as an array of strings
Ensure that the classpath is set correctly if the program requires external libraries
To compile a Java program, use the javac command followed by the name of the file with .java extension.
Open the command prompt or terminal
Navigate to the directory where the Java file is located
Type 'javac filename.java' and press enter
If there are no errors, a .class file will be generated
To run the program, type 'java filename' and press enter
Top trending discussions
posted on 20 Feb 2024
I applied via Campus Placement
2 Questions - 1 graph and one basic
I applied via Approached by Company and was interviewed before Aug 2023. There was 1 interview round.
String is immutable, while StringBuilder is mutable and more efficient for concatenating strings.
String is immutable, meaning once created, its value cannot be changed. StringBuilder is mutable, allowing for modifications without creating new objects.
String concatenation creates a new string object each time, while StringBuilder modifies the existing object directly.
StringBuilder is more efficient for concatenating mul...
Async and await are keywords in JavaScript used to work with asynchronous code.
Async is used to define a function as asynchronous, allowing it to run in the background without blocking the main thread.
Await is used to pause the execution of an async function until a Promise is settled, and then resumes the function with the resolved value.
Async/await is a more readable and cleaner way to write asynchronous code compare...
I applied via Naukri.com and was interviewed before Jan 2022. There were 2 interview rounds.
posted on 6 May 2024
The 'ref' keyword in C# is used to pass arguments by reference instead of by value.
Allows a method to modify the value of the argument passed to it
Useful when you want to update the original value of a variable inside a method
Can be used with value types and reference types
Example: void UpdateValue(ref int num) { num = 10; }
Example: int value = 5; UpdateValue(ref value); // value will be 10 after the method call
React Hooks are functions that let you use state and other React features without writing a class.
React Hooks were introduced in React 16.8.
They allow you to use state and other React features in functional components.
Some commonly used React Hooks are useState, useEffect, useContext, etc.
Hooks are more lightweight and easier to understand compared to class components.
I applied via Recruitment Consulltant and was interviewed in Oct 2022. There were 3 interview rounds.
Baic aptitude questions.
I was interviewed before Aug 2016.
I applied via Naukri.com and was interviewed in May 2019. There was 1 interview round.
For loop is used for iterating over a range of values while for each loop is used for iterating over elements of an array.
For loop is used when the number of iterations is known beforehand.
For each loop is used when the number of iterations is not known beforehand.
For loop can be used with any iterable object.
For each loop can only be used with arrays and other iterable objects.
For loop uses an index variable to access...
Software Engineer
39
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
34
salaries
| ₹0 L/yr - ₹0 L/yr |
Linux Administrator
14
salaries
| ₹0 L/yr - ₹0 L/yr |
System Engineer
13
salaries
| ₹0 L/yr - ₹0 L/yr |
Linux System Administrator
9
salaries
| ₹0 L/yr - ₹0 L/yr |
Disney+ Hotstar
Zee Entertainment Enterprises
Sony Pictures Networks
Sun TV Network