Add office photos
Engaged Employer

TCS

3.7
based on 92.9k Reviews
Video summary
Filter interviews by

More Supermarket Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. Percentage in technical subjects arw checeked

Ans.

Yes, percentage in technical subjects is checked for Junior Engineer position.

  • Technical subjects are a crucial part of the Junior Engineer role.

  • The percentage in technical subjects is checked to assess the candidate's knowledge and understanding of the subject.

  • The weightage given to technical subjects may vary depending on the company and job profile.

  • Candidates should focus on scoring well in technical subjects to increase their chances of getting selected.

  • For example, if the...read more

Add your answer

Q2. what is diff between array and arraylist

Ans.

Array is a fixed-size data structure while ArrayList is a dynamic-size data structure in Java.

  • Array is a fixed-size collection of elements of the same data type, while ArrayList is a dynamic-size collection that can grow or shrink as needed.

  • Arrays can store primitive data types and objects, while ArrayList can only store objects.

  • Arrays require a specified size at the time of creation, while ArrayList can dynamically resize itself.

  • Arrays use square brackets [] for declaration,...read more

Add your answer

Q3. what is spring boot ?

Ans.

Spring Boot is a Java-based framework used to create stand-alone, production-grade Spring-based Applications.

  • Spring Boot simplifies the process of developing and deploying Spring applications.

  • It provides a set of pre-configured tools and conventions to get started quickly.

  • Spring Boot eliminates the need for manual configuration and boilerplate code.

  • It includes embedded servers like Tomcat, Jetty, or Undertow for easy deployment.

  • Spring Boot allows for easy integration with oth...read more

Add your answer

Q4. what is constructor?

Ans.

A constructor is a special type of method in a class that is automatically called when an object of that class is created.

  • Constructors have the same name as the class they belong to

  • Constructors do not have a return type

  • Constructors can be used to initialize the object's state or perform any necessary setup

  • Example: public class Car { public Car() { // constructor code here } }

Add your answer
Discover More Supermarket interview dos and don'ts from real experiences

Q5. what is hashmap

Ans.

HashMap is a data structure that stores key-value pairs and allows for fast retrieval of values based on keys.

  • HashMap is part of the Java Collections framework.

  • It uses hashing to store key-value pairs in an array.

  • Example: HashMap<String, Integer> map = new HashMap<>(); map.put("key1", 1); int value = map.get("key1");

Add your answer

Q6. diff between throw and throws

Ans.

throw is a keyword used to explicitly throw an exception in Java, while throws is used in method signature to declare the exceptions that can be thrown by the method.

  • throw is used to throw an exception explicitly in Java code

  • throws is used in method signature to declare the exceptions that can be thrown by the method

  • Example: throw new Exception();

  • Example: public void method() throws Exception {};

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at More Supermarket

based on 5 interviews
1 Interview rounds
Resume Shortlist Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Junior Engineer Interview Questions from Similar Companies

4.0
 • 22 Interview Questions
4.2
 • 14 Interview Questions
4.5
 • 12 Interview Questions
4.2
 • 11 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter