Add office photos
Employer?
Claim Account for FREE

Capita

3.6
based on 2.4k Reviews
Video summary
Filter interviews by

10+ Suroj Buildcon Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations
Q1. What is the difference between an abstract class and an interface in OOP?
Ans.

Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.

  • Abstract class can have constructors, fields, and methods, while interface cannot have any implementation.

  • A class can only extend one abstract class, but can implement multiple interfaces.

  • Abstract classes are used to define common characteristics of subclasses, while interfaces are used to define common behaviors of classes.

  • Example: Abstract class 'Animal' with abstr...read more

Add your answer
Q2. Can you explain in brief the role of different MVC components?
Ans.

MVC components include Model, View, and Controller which work together to separate concerns in a software application.

  • Model: Represents the data and business logic of the application.

  • View: Represents the user interface and displays data from the model to the user.

  • Controller: Acts as an intermediary between the model and view, handling user input and updating the model accordingly.

  • Example: In a web application, the model could be a database table, the view could be an HTML pag...read more

Add your answer
Q3. What is the difference between the PUT and POST methods in API?
Ans.

PUT is used to update or replace an existing resource, while POST is used to create a new resource.

  • PUT is idempotent, meaning multiple identical requests will have the same effect as a single request.

  • POST is not idempotent, meaning multiple identical requests may result in different outcomes.

  • PUT is used when the client knows the exact URI of the resource it wants to update.

  • POST is used when the server assigns a URI for the newly created resource.

  • Example: PUT /users/123 update...read more

Add your answer
Q4. What are the credential types supported by Jenkins?
Ans.

Jenkins supports various credential types for secure authentication and authorization.

  • Username and password

  • SSH key

  • Secret text

  • Certificate

  • AWS credentials

Add your answer
Discover Suroj Buildcon interview dos and don'ts from real experiences
Q5. What is the difference between HashSet and HashMap in Java?
Ans.

HashSet is a collection of unique elements, while HashMap is a key-value pair collection.

  • HashSet does not allow duplicate elements, while HashMap allows duplicate values but not duplicate keys.

  • HashSet uses a hash table to store elements, while HashMap uses key-value pairs to store data.

  • Example: HashSet<String> set = new HashSet<>(); HashMap<String, Integer> map = new HashMap<>();

Add your answer
Q6. Can you differentiate between ArrayList and Vector in Java?
Ans.

ArrayList is non-synchronized and Vector is synchronized in Java.

  • ArrayList is not synchronized, while Vector is synchronized.

  • ArrayList is faster than Vector as it is not synchronized.

  • Vector is thread-safe, while ArrayList is not.

  • Example: ArrayList<String> list = new ArrayList<>(); Vector<String> vector = new Vector<>();

Add your answer
Are these interview questions helpful?
Q7. What is meant by an interface in Object-Oriented Programming?
Ans.

An interface in Object-Oriented Programming defines a contract for classes to implement certain methods or behaviors.

  • An interface contains method signatures but no implementation details.

  • Classes can implement multiple interfaces in Java.

  • Interfaces allow for polymorphism and loose coupling in OOP.

  • Example: 'Comparable' interface in Java defines a method 'compareTo' for comparing objects.

Add your answer
Q8. How does ConcurrentHashMap work in Java?
Ans.

ConcurrentHashMap is a thread-safe implementation of the Map interface in Java.

  • ConcurrentHashMap allows multiple threads to read and write to the map concurrently without the need for external synchronization.

  • It achieves this by dividing the map into segments, each with its own lock, allowing multiple threads to access different segments concurrently.

  • ConcurrentHashMap does not block the entire map when performing read or write operations, improving performance in multi-thread...read more

Add your answer
Share interview questions and help millions of jobseekers 🌟
Q9. Explain how independent microservices communicate with each other.
Ans.

Independent microservices communicate through APIs, message queues, or event-driven architecture.

  • Microservices communicate through RESTful APIs, allowing them to send and receive data over HTTP.

  • Message queues like RabbitMQ or Kafka enable asynchronous communication between microservices.

  • Event-driven architecture using tools like Apache Kafka allows microservices to react to events in real-time.

  • Service mesh frameworks like Istio can also facilitate communication between micros...read more

Add your answer
Q10. Can you explain the Jenkins Multibranch Pipeline?
Ans.

Jenkins Multibranch Pipeline allows you to automatically create Jenkins Pipeline jobs for each branch in your repository.

  • Automatically creates Jenkins Pipeline jobs for each branch in a repository

  • Uses a Jenkinsfile to define the pipeline steps and configurations

  • Supports automatic branch indexing and job creation

  • Helps in managing multiple branches and their respective pipelines efficiently

Add your answer
Q11. How is routing carried out in MVC?
Ans.

Routing in MVC is carried out by mapping URLs to controller actions.

  • Routing is configured in the RouteConfig.cs file in the App_Start folder.

  • Routes are defined using the MapRoute method, which takes parameters like URL pattern, default values, and constraints.

  • Routes are matched in the order they are defined, with the first match being used to determine the controller and action.

  • Route parameters can be accessed in controller actions using the RouteData object.

  • Example: routes.M...read more

Add your answer
Q12. What are the types of Jenkins pipelines?
Ans.

Types of Jenkins pipelines include Scripted Pipeline, Declarative Pipeline, and Multibranch Pipeline.

  • Scripted Pipeline allows for maximum flexibility and control through Groovy scripting

  • Declarative Pipeline provides a more structured and simplified syntax for defining pipelines

  • Multibranch Pipeline automatically creates a new pipeline for each branch in a repository

Add your answer
Q13. What is Jenkins?
Ans.

Jenkins is an open-source automation server used for continuous integration and continuous delivery of software projects.

  • Jenkins allows for automation of building, testing, and deploying software.

  • It integrates with various version control systems like Git and SVN.

  • Jenkins pipelines allow for defining complex build and deployment workflows.

  • Plugins in Jenkins extend its functionality to support various tools and technologies.

  • Jenkins provides a web-based interface for easy config...read more

Add your answer
Q14. Can you explain OAuth?
Ans.

OAuth is an open standard for access delegation, commonly used as a way for Internet users to grant websites or applications access to their information on other websites but without giving them the passwords.

  • OAuth allows users to grant access to their information on one site to another site without sharing their credentials.

  • It is commonly used for authentication and authorization in APIs.

  • OAuth uses tokens instead of passwords to access resources.

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

Interview Process at Suroj Buildcon

based on 1 interviews
Interview experience
5.0
Excellent
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Consultant Interview Questions from Similar Companies

3.7
 • 174 Interview Questions
3.7
 • 20 Interview Questions
3.9
 • 12 Interview Questions
3.8
 • 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
70 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