London Stock Exchange Group
Vasantham Construction & Builders Interview Questions and Answers
Q1. What OOPS concepts are implemented in my project
Encapsulation, Inheritance, Polymorphism, Abstraction
Encapsulation: Data hiding and bundling of data with methods. Example: Using private variables and public methods.
Inheritance: Reusing code and creating a hierarchy of classes. Example: Subclass inheriting properties and methods from a superclass.
Polymorphism: Ability to present the same interface for different data types. Example: Method overloading and overriding.
Abstraction: Hiding complex implementation details and show...read more
Q2. Difference between Structure and object oriented languages
Structure languages focus on procedures and functions, while object-oriented languages focus on objects and classes.
Structure languages use functions and procedures to manipulate data
Object-oriented languages use objects and classes to encapsulate data and behavior
Structure languages are more procedural in nature, while object-oriented languages are more modular and reusable
Examples of structure languages include C and Pascal
Examples of object-oriented languages include Java ...read more
Q3. Explain of OOPS concepts and their real life examples.
OOPS concepts are fundamental to object-oriented programming and include inheritance, encapsulation, polymorphism, and abstraction.
Inheritance: A child class inherits properties and behaviors from a parent class. Example: Animal class can be a parent class with child classes like Dog and Cat inheriting its attributes.
Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: A car object encapsulates data like speed and methods like acceler...read more
Q4. System architecture diagram for web application project.
The system architecture diagram for a web application project visually represents the components and their interactions.
Include components like client-side interface, server-side application, database, and external services
Show how these components communicate with each other
Consider scalability, security, and performance in the design
Use standard symbols and notations for clarity
Q5. What is static keyword and it's usage.
The static keyword in programming is used to declare variables, functions, or classes that retain their values or state throughout the program's execution.
Static variables retain their values between function calls
Static functions can only be accessed within the same file
Static classes cannot be instantiated and have limited visibility
Static keyword can also be used in C++ to declare class members shared among all instances
Q6. Access Modifiers in java
Access modifiers in Java control the visibility of classes, methods, and variables.
There are four types of access modifiers in Java: public, private, protected, and default.
Public: accessible from any other class.
Private: only accessible within the same class.
Protected: accessible within the same package and subclasses.
Default: accessible only within the same package.
Example: public class MyClass { private int myVar; protected void myMethod() { } }
Interview Process at Vasantham Construction & Builders
Top Engineer Trainee Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month