Filter interviews by
To fetch a value from application.properties file in Spring Boot, use @Value annotation or Environment object.
Use @Value annotation to inject values directly into a field
Use Environment object to access properties programmatically
Example: @Value("${my.property}") private String myProperty;
Example: @Autowired private Environment env; String propertyValue = env.getProperty("my.property");
You can pull the pids of Java processes using command line tools like jps or ps.
Use 'jps' command to list Java processes along with their pids.
Use 'ps -ef | grep java' command to list all processes with 'java' in their name and find the pid.
You can also use tools like VisualVM or JConsole to monitor and manage Java processes.
To reduce heap memory usage in Java, you can optimize code, limit object creation, use data structures efficiently, and tune JVM settings.
Optimize code by avoiding unnecessary object creation and using efficient algorithms
Limit object creation by reusing objects, using object pooling, or implementing flyweight design pattern
Use data structures efficiently by choosing the right data structure for the task at hand
Tu...
Some annotations in Spring Boot are @RestController, @Autowired, @Component, @RequestMapping, @Service.
@RestController - used to define RESTful web services.
@Autowired - used for automatic dependency injection.
@Component - marks a java class as a bean so that the component-scanning mechanism of Spring can pick it up and pull it into the application context.
@RequestMapping - used to map web requests to specific han...
Front end communicates with the backend in Spring through HTTP requests using RESTful APIs.
Front end sends HTTP requests to the backend server
Backend server processes the requests and sends back HTTP responses
Communication is typically done using RESTful APIs in Spring MVC
Data is exchanged in JSON format between front end and backend
Use the put() method to replace a value in a HashMap.
Use the put() method with the key of the value you want to replace
Example: map.put(key, newValue);
To create a Jar/war file, use the jar command in the terminal or an IDE like Eclipse.
Use the jar command in the terminal to create a Jar file: jar cf jarFileName.jar file1 file2
Use the jar command with 'war' option to create a War file: jar cf warFileName.war file1 file2
In Eclipse, right-click on the project, go to Export > JAR file/WAR file, and follow the prompts
mvn clean install is a Maven command used to clean the project, compile the source code, run tests, and package the application.
Removes target directory to clean project
Compiles the source code
Runs tests
Packages the application
Dependencies are downloaded if needed
You can change the data type of a column in SQL using the ALTER TABLE statement.
Use the ALTER TABLE statement followed by the MODIFY COLUMN clause to change the data type of a column.
Specify the new data type for the column after the MODIFY COLUMN clause.
Make sure to handle any data conversion or potential data loss when changing the data type.
I will use logging, debugging tools like breakpoints, and analyzing stack traces to identify and fix issues in the code.
Use logging statements to track the flow of the code and identify any unexpected behavior.
Set breakpoints in the code to pause execution at specific points and inspect variables and data.
Analyze stack traces to understand the sequence of method calls leading to an error.
Use debugging tools like E...
I applied via Job Portal and was interviewed in Aug 2023. There were 2 interview rounds.
To create a Jar/war file, use the jar command in the terminal or an IDE like Eclipse.
Use the jar command in the terminal to create a Jar file: jar cf jarFileName.jar file1 file2
Use the jar command with 'war' option to create a War file: jar cf warFileName.war file1 file2
In Eclipse, right-click on the project, go to Export > JAR file/WAR file, and follow the prompts
I will use logging, debugging tools like breakpoints, and analyzing stack traces to identify and fix issues in the code.
Use logging statements to track the flow of the code and identify any unexpected behavior.
Set breakpoints in the code to pause execution at specific points and inspect variables and data.
Analyze stack traces to understand the sequence of method calls leading to an error.
Use debugging tools like Eclips...
Use the put() method to replace a value in a HashMap.
Use the put() method with the key of the value you want to replace
Example: map.put(key, newValue);
Front end communicates with the backend in Spring through HTTP requests using RESTful APIs.
Front end sends HTTP requests to the backend server
Backend server processes the requests and sends back HTTP responses
Communication is typically done using RESTful APIs in Spring MVC
Data is exchanged in JSON format between front end and backend
To fetch a value from application.properties file in Spring Boot, use @Value annotation or Environment object.
Use @Value annotation to inject values directly into a field
Use Environment object to access properties programmatically
Example: @Value("${my.property}") private String myProperty;
Example: @Autowired private Environment env; String propertyValue = env.getProperty("my.property");
Some annotations in Spring Boot are @RestController, @Autowired, @Component, @RequestMapping, @Service.
@RestController - used to define RESTful web services.
@Autowired - used for automatic dependency injection.
@Component - marks a java class as a bean so that the component-scanning mechanism of Spring can pick it up and pull it into the application context.
@RequestMapping - used to map web requests to specific handler ...
You can change the data type of a column in SQL using the ALTER TABLE statement.
Use the ALTER TABLE statement followed by the MODIFY COLUMN clause to change the data type of a column.
Specify the new data type for the column after the MODIFY COLUMN clause.
Make sure to handle any data conversion or potential data loss when changing the data type.
You can pull the pids of Java processes using command line tools like jps or ps.
Use 'jps' command to list Java processes along with their pids.
Use 'ps -ef | grep java' command to list all processes with 'java' in their name and find the pid.
You can also use tools like VisualVM or JConsole to monitor and manage Java processes.
To reduce heap memory usage in Java, you can optimize code, limit object creation, use data structures efficiently, and tune JVM settings.
Optimize code by avoiding unnecessary object creation and using efficient algorithms
Limit object creation by reusing objects, using object pooling, or implementing flyweight design pattern
Use data structures efficiently by choosing the right data structure for the task at hand
Tune JV...
mvn clean install is a Maven command used to clean the project, compile the source code, run tests, and package the application.
Removes target directory to clean project
Compiles the source code
Runs tests
Packages the application
Dependencies are downloaded if needed
Top trending discussions
I applied via Campus Placement and was interviewed before Mar 2021. There were 4 interview rounds.
I appeared for an interview before Mar 2021.
1 hour, time, distance problems
I appeared for an interview before Sep 2020.
Round duration - 60 minutes
Round difficulty - Easy
It was an aptitude test with maths and English questions
Round duration - 60 minutes
Round difficulty - Easy
It was a face to face interview with one of the TCS employees
Given a Singly Linked List of integers accessible via a head pointer, where each node contains a specific integer value. You are required to determine if a node ...
Given a singly linked list of integers, determine if a specified value exists within the list.
Iterate through the linked list to check if the specified value exists.
Return 1 if the value is found, else return 0.
Handle multiple test cases by looping through each one separately.
Round duration - 60 minutes
Round difficulty - Easy
It was more like an HR+Tech round
Given a sorted array 'A' of 'N' integers, determine whether a number 'X' exists within this array for a series of queries. For each query, print 1 if 'X' exists in the ...
Search for a number in a sorted array and determine its existence for multiple queries.
Iterate through each query integer 'X' and perform binary search on the sorted array 'A' to check for its existence.
Output 1 if 'X' is found in 'A', otherwise output 0.
Ensure to handle multiple test cases as per the given constraints.
Tip 1 : Don't stress too much, you can't finish all the problems
Tip 2 : Talk to the current members of that organization on Linkedin or any college alumni
Tip 1 : Keep it one page
Tip 2 : Focus on your projects
I appeared for an interview in May 2017.
posted on 23 Mar 2015
During my summer training, I learned various programming languages, software development methodologies, and practical application of theoretical concepts.
Learned programming languages such as Java, Python, and SQL
Gained knowledge of software development methodologies like Agile and Waterfall
Applied theoretical concepts in real-world projects, enhancing problem-solving skills
posted on 7 May 2017
I appeared for an interview before May 2016.
In 5 years, I see myself as a senior software engineer leading a team of developers on innovative projects.
Continuing to enhance my technical skills through ongoing learning and certifications
Taking on more leadership responsibilities within the team
Contributing to the company's growth and success through my expertise
Mentoring junior team members to help them grow in their careers
posted on 6 Sep 2017
I appeared for an interview before Sep 2016.
I am a recent graduate with a degree in Computer Science and a passion for software development.
Recent graduate with a degree in Computer Science
Passionate about software development
Experience with programming languages like Java and Python
posted on 13 Oct 2017
I appeared for an interview in Mar 2017.
Developed a web-based inventory management system for a retail company
Used HTML, CSS, and JavaScript for the frontend
Implemented a backend using PHP and MySQL for data storage
Designed a user-friendly interface for adding, updating, and deleting products
Implemented features like barcode scanning and real-time stock tracking
Conducted testing and debugging to ensure system functionality
As a mechanical engineering graduate, I see myself in an IT firm leveraging my problem-solving skills and technical knowledge to contribute to software development and innovation.
Applying my analytical and logical thinking skills to develop efficient software solutions
Utilizing my understanding of engineering principles to design and optimize software systems
Collaborating with cross-functional teams to integrate mechan...
My favorite subject is computer science.
I enjoy studying algorithms and data structures.
I find programming languages fascinating.
I am interested in software engineering principles and practices.
My daily routine involves a mix of coding, collaborating with team members, and continuous learning.
Start the day by checking emails and responding to any urgent messages
Attend daily stand-up meetings to discuss progress and plan the day's tasks
Work on coding tasks assigned by the team lead or project manager
Collaborate with team members to troubleshoot issues and brainstorm solutions
Participate in code reviews to ensu...
I plan to be an efficient employee by continuously improving my skills, being proactive, and collaborating effectively with my team.
Continuously improving my skills through self-learning and professional development opportunities
Being proactive in identifying and solving problems before they escalate
Collaborating effectively with my team by actively participating in meetings, sharing knowledge, and seeking feedback
Prio...
My smartphone is the most important gadget in my life.
My smartphone helps me stay connected with family and friends
I use it for work-related communication and tasks
It serves as a source of entertainment during leisure time
I can access important information and services through it
It also serves as a camera for capturing memories
Examples: iPhone, Samsung Galaxy, Google Pixel
based on 1 interview experience
Difficulty level
Duration
Claims Associate
257
salaries
| ₹2.5 L/yr - ₹4.3 L/yr |
Associate
138
salaries
| ₹2.3 L/yr - ₹4.7 L/yr |
Senior Software Engineer
137
salaries
| ₹12.5 L/yr - ₹26 L/yr |
Software Engineer
110
salaries
| ₹5.6 L/yr - ₹16 L/yr |
Associate Software Engineer
67
salaries
| ₹4 L/yr - ₹10 L/yr |
TCS
Accenture
Wipro
Cognizant