i
NEC
Filter interviews by
Clear (1)
Javascript Coding questions
Answering three technical questions for a software developer interview
To reverse a string, use a loop to iterate through the string and append each character to a new string in reverse order
To remove duplicate elements, use a set data structure to store unique elements and then convert it back to a list
Inheritance allows a subclass to inherit properties and methods from a superclass, allowing for code reuse and organiz
I applied via Naukri.com and was interviewed in Nov 2021. There was 1 interview round.
I applied via Naukri.com and was interviewed in Jan 2021. There was 1 interview round.
NEC interview questions for designations
Top trending discussions
I applied via Recruitment Consultant and was interviewed before Oct 2020. There were 3 interview rounds.
I applied via Referral and was interviewed in Sep 2020. There were 4 interview rounds.
I applied via Naukri.com and was interviewed before May 2020. There were 4 interview rounds.
I applied via Naukri.com and was interviewed in Oct 2019. There were 5 interview rounds.
I was interviewed before Sep 2016.
I was interviewed in Mar 2017.
Oops concepts in Java
Encapsulation - hiding implementation details
Inheritance - reusing code and creating parent-child relationships
Polymorphism - multiple forms of a method or object
Abstraction - creating abstract classes and interfaces
Example: Encapsulation - using private variables and public methods
Example: Inheritance - creating a subclass that inherits from a superclass
Example: Polymorphism - using method overloa...
Altering columns in databases involves modifying the structure of a table by adding, deleting or modifying columns.
Use ALTER TABLE statement to modify columns
Add new columns using ADD COLUMN
Delete columns using DROP COLUMN
Modify columns using MODIFY COLUMN
Changing column data type may result in data loss
Reversing a number in Java
Convert the number to a string
Use StringBuilder to reverse the string
Convert the reversed string back to a number
To extract words from a line in Java, split the line using whitespace as delimiter.
Use the split() method of String class
Pass the whitespace regex as argument to split() method
Iterate over the resulting array to get individual words
based on 1 interview
Interview experience
based on 248 reviews
Rating in categories
Member Technical Staff
365
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Lead
305
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Member of Technical Staff
190
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
172
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Technical Lead
161
salaries
| ₹0 L/yr - ₹0 L/yr |
Hitachi
Toshiba
Panasonic
Sony