i
Coforge
Filter interviews by
I applied via Campus Placement and was interviewed in Jan 2024. There were 2 interview rounds.
Basic coding, SQL queries and basic aptitude.
I applied via Campus Placement and was interviewed before Jul 2023. There were 2 interview rounds.
One hour aptitude test
Indexing in SQL is a technique used to improve the performance of queries by creating indexes on columns in a database table.
Indexes are created on columns in a table to speed up the retrieval of data.
They work similar to the index in a book, allowing the database to quickly locate the rows that match a certain criteria.
Indexes can be created using the CREATE INDEX statement in SQL.
Examples: CREATE INDEX idx_lastname O
I appeared for an interview in Jul 2017.
Autoboxing is the automatic conversion of primitive data types to their corresponding object wrapper classes.
Autoboxing is useful when working with collections that require objects instead of primitives.
Example: int i = 5; Integer j = i; //autoboxing
Unboxing is the opposite of autoboxing, where an object of a wrapper class is converted back to its corresponding primitive type.
Example: Integer j = 5; int i = j; //unboxi
Typecasting up and down refers to converting a variable of one data type to another data type of higher or lower precision.
Typecasting up involves converting a variable of lower precision to a variable of higher precision, such as converting an int to a double.
Typecasting down involves converting a variable of higher precision to a variable of lower precision, such as converting a double to an int.
Typecasting can resul...
To iterate a map in Java, use a for-each loop or an iterator.
Use the entrySet() method to get a set of key-value pairs
For-each loop: for(Map.Entry
Iterator: Iterator
Use hasNext() and next() methods to iterate through the map
Types of synchronization in Java
Synchronized methods
Synchronized statements
ReentrantLock
Semaphore
CountDownLatch
Access modifiers in method overriding
Access modifiers in the overriding method cannot be more restrictive than the overridden method
The access modifier can be less restrictive or the same as the overridden method
Private methods cannot be overridden
Examples: public method can be overridden by public or protected method, but not by private method
I appeared for an interview in Jun 2017.
I applied via Naukri.com and was interviewed in Aug 2018. There were 5 interview rounds.
The question is asking about the candidate's knowledge in Core Java, Spring, Hibernate, Spring Boot, SQL, and AngularJS.
Core Java is the foundation of Java programming language.
Spring is a popular framework for building Java applications.
Hibernate is an ORM tool used for mapping Java objects to database tables.
Spring Boot is a framework for building microservices.
SQL is a language used for managing relational databases...
To connect 2 DBs from a Spring Boot application, configure multiple data sources and use JdbcTemplate or EntityManager for each DB.
Configure multiple data sources in the application.properties file
Create separate configuration classes for each data source
Use JdbcTemplate or EntityManager to interact with each DB
Specify the appropriate data source in the repository or service classes
Abstract method implementation is mandatory while default method is optional.
Abstract method has no implementation in the abstract class and must be implemented by the subclass.
Default method has a default implementation in the interface and can be overridden by the implementing class.
Abstract method is used to enforce a contract while default method is used to provide a default behavior.
Example: abstract method - publ...
I appeared for an interview in Jun 2017.
I appeared for an interview in Feb 2017.
I applied via Campus Placement and was interviewed before Oct 2020. There was 1 interview round.
Encapsulation is the process of hiding implementation details and providing access to only necessary information.
Encapsulation helps in achieving data abstraction and information hiding.
It allows for better control over data and prevents unauthorized access.
In Java, encapsulation is achieved through the use of access modifiers such as private, public, and protected.
For example, a class may have private variables that c...
A string is a sequence of characters used to represent text in programming.
Strings are often used for storing and manipulating text data.
In Java, strings are represented by the String class.
Strings can be concatenated using the + operator.
Strings are immutable, meaning they cannot be changed once created.
Examples of string literals include "hello world" and "42".
I applied via Campus Placement and was interviewed before Jun 2020. There were 7 interview rounds.
Java is a high-level, object-oriented programming language used to develop applications for various platforms.
Java is platform-independent and can run on any platform with a JVM.
It is used for developing web, mobile, desktop, and enterprise applications.
Java has a vast library of pre-built classes and APIs.
It supports multithreading, exception handling, and garbage collection.
Java is widely used in the industry for its...
Java is a popular, versatile, and reliable programming language used for developing a wide range of applications.
Java is platform-independent, making it easy to write code once and run it on multiple platforms.
It has a vast library of pre-built classes and APIs, making development faster and easier.
Java is highly secure and provides built-in features for encryption and authentication.
It is widely used in enterprise app...
based on 2 interviews
Interview experience
based on 8 reviews
Rating in categories
Senior Software Engineer
4.9k
salaries
| ₹6.3 L/yr - ₹23 L/yr |
Technical Analyst
2.6k
salaries
| ₹9.5 L/yr - ₹38.4 L/yr |
Software Engineer
2k
salaries
| ₹2.2 L/yr - ₹9.5 L/yr |
Senior Test Engineer
1.8k
salaries
| ₹4.7 L/yr - ₹19.2 L/yr |
Technology Specialist
1.2k
salaries
| ₹12 L/yr - ₹42 L/yr |
Capgemini
Cognizant
Accenture
Infosys