Filter interviews by
Data types are classifications of data items based on their characteristics.
Data types define the type of data that a variable can hold
Java has two categories of data types: primitive and non-primitive
Primitive data types include int, double, boolean, char, etc.
Non-primitive data types include arrays, classes, interfaces, etc.
A programming language in Java
Define a grammar for the language
Implement a lexer to tokenize the input
Use a parser to build an abstract syntax tree
Implement a type checker to ensure type safety
Generate bytecode or machine code from the AST
Provide a runtime environment to execute the code
A collection is a group of objects that can be stored, manipulated, and retrieved as a single unit.
Collections are used to store and manipulate groups of related objects
Examples include ArrayList, LinkedList, HashSet, TreeMap
Collections can be sorted, searched, and filtered
Object oriented programming is a programming paradigm that uses objects to represent and manipulate data.
OOP focuses on encapsulation, inheritance, and polymorphism
Objects have attributes (data) and methods (functions)
Java, C++, and Python are popular OOP languages
Example: A car object has attributes like color and model, and methods like start and stop
Operators are symbols that perform operations on operands in a programming language.
Arithmetic operators: +, -, *, /, %
Relational operators: <, >, <=, >=, ==, !=
Logical operators: &&, ||, !
Bitwise operators: &, |, ^, ~, <<, >>, >>>
Assignment operators: =, +=, -=, *=, /=, %=
Conditional operator: ? :
Condition statements are used to execute code based on certain conditions being met.
Condition statements are typically written using if, else if, and else keywords
The condition inside the if statement must evaluate to true for the code inside the block to be executed
Multiple conditions can be checked using logical operators such as && (and) and || (or)
Switch statements are another way to execute code based on cond...
Classes are blueprints for objects, while objects are instances of classes.
Classes define the properties and behaviors of objects
Objects are created from classes and have their own unique values for properties
Classes can be thought of as a template or a blueprint
Objects are created using the 'new' keyword followed by the class name
Classes can have static properties and methods, while objects cannot
Servlets are Java classes that handle HTTP requests and responses. XML is a markup language used for data exchange.
Servlets are server-side components that generate dynamic web content.
XML is used to store and transport data between systems.
Servlets can be used to handle form submissions, authentication, and session management.
XML can be used to define data structures, configuration files, and web services.
Servlet...
Arrays, strings, and classes are fundamental concepts in Java programming.
Arrays are collections of similar data types that can be accessed using an index.
Strings are sequences of characters that are immutable in Java.
Classes are templates for creating objects that encapsulate data and behavior.
Arrays and strings are both objects in Java.
Classes can be used to create custom data types and define their behavior.
Control statements in JavaScript are used to control the flow of execution of a program.
if-else statements
switch statements
for loops
while loops
do-while loops
break and continue statements
I appeared for an interview in Feb 2022.
Java programming language
Servlets are Java classes that handle HTTP requests and responses. XML is a markup language used for data exchange.
Servlets are server-side components that generate dynamic web content.
XML is used to store and transport data between systems.
Servlets can be used to handle form submissions, authentication, and session management.
XML can be used to define data structures, configuration files, and web services.
Servlets are...
Arrays, strings, and classes are fundamental concepts in Java programming.
Arrays are collections of similar data types that can be accessed using an index.
Strings are sequences of characters that are immutable in Java.
Classes are templates for creating objects that encapsulate data and behavior.
Arrays and strings are both objects in Java.
Classes can be used to create custom data types and define their behavior.
Control statements in JavaScript are used to control the flow of execution of a program.
if-else statements
switch statements
for loops
while loops
do-while loops
break and continue statements
Top trending discussions
I applied via Naukri.com and was interviewed before Sep 2019. There were 6 interview rounds.
I applied via Referral and was interviewed before Jan 2020. There were 5 interview rounds.
posted on 15 Sep 2021
I appeared for an interview before Sep 2020.
Round duration - 90 minutes
Round difficulty - Easy
It happens in very friendly manner.
Given an 'M x N' matrix, print all the possible paths from the top-left corner to the bottom-right corner. You can only move either right (from (i,j) to (i,j+1)) or dow...
Print all possible paths from top-left to bottom-right in a matrix by moving only right or down.
Use backtracking to explore all possible paths from top-left to bottom-right in the matrix.
At each cell, recursively explore moving right and down until reaching the bottom-right corner.
Keep track of the current path and add it to the result when reaching the destination.
Yes, I can create 2 tables in SQL and perform operations like INSERT, SELECT, UPDATE, and DELETE.
Create Table 1: CREATE TABLE employees (id INT, name VARCHAR(50), salary DECIMAL(10,2));
Create Table 2: CREATE TABLE departments (dept_id INT, dept_name VARCHAR(50));
Insert Data: INSERT INTO employees VALUES (1, 'John Doe', 50000);
Select Data: SELECT * FROM employees WHERE salary > 40000;
Update Data: UPDATE employees SET...
Round duration - 90 minutes
Round difficulty - Medium
No problem occur very friendly environment.
Round duration - 90 minutes
Round difficulty - Hard
You need to determine all possible paths for a rat starting at position (0, 0) in a square maze to reach its destination at (N-1, N-1). The maze is represented as an N*N ma...
Find all possible paths for a rat in a maze from source to destination.
Use backtracking to explore all possible paths in the maze.
Keep track of visited cells to avoid revisiting them.
Explore all possible directions (up, down, left, right) from each cell.
Add the current direction to the path and recursively explore further.
If the destination is reached, add the path to the list of valid paths.
Tip 1 : Competitive programming plays a major role when you are appearing for coding rounds as a fresher. In the coding rounds, you won't get direct problems copied from Geeksforgeeks or Leetcode. You would be required to use your logical thinking to go ahead in the process. This is where competitive programming helps.
Tip 2 : Coding rounds are all about Coding + Timing. Most people fail to excel due to the pressure of a timer ticking on your head. So, instead of just solving problems, try to participate in timed contests. This will help you be used to the pressure of the timer.
Tip 3 : Many big companies like Microsoft, Amazon, and even Google expect you to be good at standard problems. So, once you are done with coding round by your logical skills and competitive programming, you must be well versed with some standard problems in order to excel.
Application resume tips for other job seekersTip 1 : Make it short, crisp, and simple. It is always good to have a 1 pager resume.
Tip 2 : Resume must comprise of the following: Educational Qualifications, Technical skills, Projects, Work experience (if any), Achievements. Other than this, you may include some extra co-curricular achievements.
I applied via Naukri.com and was interviewed before Apr 2020. There was 1 interview round.
I applied via Naukri.com and was interviewed before Nov 2018. There were 3 interview rounds.
posted on 13 Jan 2015
I am a software developer with experience in various programming languages and frameworks.
Proficient in Java, C++, and Python
Familiar with web development using HTML, CSS, and JavaScript
Experience with database management systems such as MySQL and MongoDB
Strong problem-solving and analytical skills
Worked on projects involving machine learning and artificial intelligence
Method overloading is having multiple methods with the same name but different parameters. Method overriding is having a subclass method with the same name and parameters as a superclass method.
Method overloading is used to provide different ways of calling the same method with different parameters.
Method overriding is used to provide a specific implementation of a method in a subclass that is already defined in the su...
Switch case is used for multiple conditions while if else is used for binary conditions.
Switch case is faster than if else for multiple conditions.
If else can handle complex conditions while switch case cannot.
Switch case can only compare values of the same data type.
If else can handle null values while switch case cannot.
Example: switch (day) { case 1: console.log('Monday'); break; case 2: console.log('Tuesday'); brea...
Interface and abstract class are both used for abstraction in object-oriented programming.
An interface is a collection of abstract methods that define a contract for a class to implement.
An abstract class is a class that cannot be instantiated and may contain abstract methods.
Interfaces are used to achieve multiple inheritance in Java.
Abstract classes can have non-abstract methods and instance variables.
An example of a...
Polymorphism is the ability of an object to take on many forms.
It allows objects of different classes to be treated as if they were objects of the same class.
It is achieved through method overriding and method overloading.
Example: A shape class can have multiple subclasses like circle, square, etc. and all can be treated as shapes.
Example: A method can have different implementations in different classes but with the sa...
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows code reusability and saves time and effort in writing new code.
The existing class is called the parent or base class, and the new class is called the child or derived class.
The child class inherits all the properties and methods of the parent class and can also add its ...
Default case in switch case statement
Default case is executed when no other case matches the switch expression
It is optional and can be placed anywhere in the switch statement
It is often used to handle unexpected input or errors
It should always be the last case in the switch statement
I am a passionate software developer with a strong background in web development and a love for problem-solving.
Experienced in HTML, CSS, JavaScript, and various web development frameworks
Proficient in backend development using languages like Java, Python, and Node.js
Familiar with database management systems such as MySQL and MongoDB
Strong problem-solving skills and ability to work well in a team environment
I tend to get overly focused on details, which can sometimes slow down my progress.
I have a tendency to spend too much time on perfecting small details
I sometimes struggle with prioritizing tasks due to my focus on details
I am working on improving my time management skills to balance detail-oriented work with efficiency
Yes, I have received offers from two other companies.
Received offers from Company A and Company B
Currently evaluating all offers to make an informed decision
Considering factors like company culture, growth opportunities, and compensation
I would like to join Google because of their innovative projects and work culture.
Google is known for its cutting-edge technology and innovative projects.
They have a strong focus on employee well-being and work-life balance.
Google offers opportunities for career growth and development.
The company has a diverse and inclusive work culture.
Google is a leader in the tech industry with a global presence.
Yes, I have worked in multiple teams in various projects.
Worked in a team of developers to create a new software application
Collaborated with designers, testers, and project managers to meet project deadlines
Participated in daily stand-up meetings to discuss progress and roadblocks
Yes, they are similar.
All 8 metal balls are of the same material.
They have the same size and weight.
They have the same physical properties.
They are interchangeable in any given situation.
I appeared for an interview before Dec 2015.
Senior Software Engineer
6
salaries
| ₹9.5 L/yr - ₹12.8 L/yr |
Application Support Engineer
5
salaries
| ₹5.7 L/yr - ₹7.9 L/yr |
Technical Support Engineer
4
salaries
| ₹6.3 L/yr - ₹9.5 L/yr |
Senior Technical Consultant
4
salaries
| ₹12.5 L/yr - ₹22.8 L/yr |
Senior QA Engineer
4
salaries
| ₹12 L/yr - ₹24 L/yr |
Cognizant
EXL Service
Sutherland Global Services
Optum Global Solutions