Trivium
Mitsubishi Heavy Industries Interview Questions and Answers
Q1. Which is the latest .Net framework and what are it's new features ?
The latest .Net framework is .Net 5.0 with new features like improved performance, support for C# 9.0, and enhanced support for cloud-native applications.
.Net 5.0 is the latest version of the .Net framework.
It provides improved performance compared to previous versions.
It includes support for C# 9.0, which introduces new language features.
It offers enhanced support for building cloud-native applications.
It allows developers to target Windows, Linux, macOS, iOS, Android, and m...read more
Q2. Can you allow a class to be inherited, but prevent a method from being overridden in C#?
Yes
Use the 'sealed' keyword to prevent method overriding in C#
Mark the method with 'sealed' modifier to disallow further overriding
The class itself can still be inherited
Q3. Is it possible for a class to inherit the constructor of its base class?
Yes, a class can inherit the constructor of its base class.
Inheritance allows a derived class to inherit the members of its base class, including constructors.
When a derived class is created, the constructor of its base class is automatically called.
The derived class can also define its own constructor, which can call the base class constructor using the 'super' keyword.
This allows the derived class to initialize its own members as well as the inherited members from the base ...read more
Q4. What is difference between System.String and System.StringBuilder classes?
System.String is immutable, while System.StringBuilder is mutable.
System.String is a reference type that represents a sequence of characters and is immutable.
System.StringBuilder is a mutable class that provides methods to manipulate strings efficiently.
System.String is suitable for scenarios where frequent string manipulation is not required.
System.StringBuilder is more efficient when there is a need for frequent modifications to a string.
System.StringBuilder is recommended ...read more
Q5. What are the main components of .NET Framework?
The main components of .NET Framework are Common Language Runtime (CLR), Framework Class Library (FCL), and ASP.NET.
Common Language Runtime (CLR) provides the runtime environment for executing .NET applications.
Framework Class Library (FCL) is a collection of reusable classes, interfaces, and value types that simplify development.
ASP.NET is a web application framework for building dynamic websites and web services.
Other components include ADO.NET for data access, Windows Form...read more
Q6. Explain the basic features of OOPs?
OOPs (Object-Oriented Programming) is a programming paradigm that focuses on objects and their interactions.
Encapsulation: Bundling data and methods together in a class.
Inheritance: Creating new classes from existing ones, inheriting their properties and behaviors.
Polymorphism: Objects of different classes can be treated as objects of a common superclass.
Abstraction: Hiding complex implementation details and providing simplified interfaces.
Message Passing: Objects communicate...read more
Top HR Questions asked in Mitsubishi Heavy Industries
Top Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month