Add office photos
Engaged Employer

TCS

3.7
based on 92.8k Reviews
Video summary
Filter interviews by

10+ C2fo Interview Questions and Answers

Updated 15 Jan 2025
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 program for inheritance in java

Ans.

Inheritance in Java allows a class to inherit properties and methods from another class.

  • A subclass can inherit from a superclass using the 'extends' keyword

  • The subclass can access the public and protected members of the superclass

  • The 'super' keyword is used to call the constructor or method of the superclass

  • Inheritance promotes code reuse and allows for polymorphism

  • Example: class Dog extends Animal { ... }

Add your answer

Q3. 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

Q4. What is javascript what is angular

Ans.

JavaScript is a programming language used for web development. Angular is a JavaScript framework for building web applications.

  • JavaScript is a client-side scripting language used for creating interactive web pages.

  • Angular is a JavaScript framework developed by Google for building dynamic web applications.

  • Angular uses TypeScript, a superset of JavaScript, for building applications.

  • Angular provides features like two-way data binding, dependency injection, and reusable component...read more

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

Q5. What is c++ what is ios

Ans.

C++ is a high-level programming language used for developing software and applications. iOS is a mobile operating system developed by Apple.

  • C++ is an object-oriented language

  • iOS is used for developing applications for Apple devices

  • C++ is used for developing operating systems, browsers, games, and more

  • iOS is known for its user-friendly interface and security features

Add your answer

Q6. 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
Are these interview questions helpful?

Q7. What is html what is https

Ans.

HTML is a markup language used for creating web pages. HTTPS is a secure version of HTTP for secure communication over the internet.

  • HTML stands for HyperText Markup Language

  • It is used to create the structure and content of web pages

  • HTML uses tags to define elements such as headings, paragraphs, images, links, etc.

  • HTTPS stands for HyperText Transfer Protocol Secure

  • It is a secure version of HTTP that encrypts data sent between a website and a user's browser

  • HTTPS is used to ensu...read more

Add your answer

Q8. What is c programming

Ans.

C programming is a high-level language used for system programming, embedded systems, and game development.

  • C is a compiled language

  • It has a rich set of operators and built-in functions

  • C is used for developing operating systems, device drivers, and firmware

  • Examples of C-based software include Linux, MySQL, and Adobe Photoshop

  • C is known for its efficiency and speed

View 1 answer
Share interview questions and help millions of jobseekers 🌟

Q9. What is Oops concepts?

Ans.

Oops concepts refer to Object-Oriented Programming concepts which include inheritance, polymorphism, encapsulation, and abstraction.

  • Inheritance: Allows a class to inherit properties and behavior from another class.

  • Polymorphism: Allows objects to be treated as instances of their parent class.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit.

  • Abstraction: Hides the complex implementation details and only shows the necessary features to the outs...read more

Add your answer

Q10. 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

Q11. 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

Q12. What is SQL query?

Ans.

SQL query is a command used to retrieve, insert, update, or delete data from a database.

  • SQL query is used to interact with databases by performing operations like selecting, inserting, updating, or deleting data.

  • Examples of SQL queries include SELECT * FROM table_name, INSERT INTO table_name VALUES (value1, value2), UPDATE table_name SET column_name = value WHERE condition, DELETE FROM table_name WHERE condition.

Add your answer

Q13. 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

Q14. Explain BST

Ans.

BST stands for Binary Search Tree, a data structure where each node has at most two children, with left child smaller and right child larger.

  • BST is a hierarchical data structure where each node has at most two children.

  • The left child of a node contains a value smaller than the node's value.

  • The right child of a node contains a value larger than the node's value.

  • BST allows for efficient searching, insertion, and deletion operations.

  • Example: 4 / 2 6 \ / 3 5

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
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