Colleges
All Colleges
Management and Business
Study abroad
Counsellors
Distribution & Supply Chain
Finance
Human Resources
Import/Export
Information Technology
International Business
Management in General
Operations
Retail
Sales & Marketing
Banking and Finance
Accounting
Banking
CFP/Wealth Management
Insurance
NCFM
Securities & Trading
Engineering and Science
Aeronautical, Aerospace
Agriculture & Forestry
Architecture
Bio-Technology
Chemistry, Chemical Engg.
Civil Engineering
Electronics, Computers, IT
Industrial Engineering
Marine Engineering
Mathematics, Statistics
Mechanical Engineering
Secondary / Higher Sec. Schools
Aviation
Air Hostess diploma
Airlines & Ticketing
Aviation Management (BBA)
Commercial Pilot (CPL)
Media, Films and Mass Comm
Acting, Modelling
Advertising
Films and Television
Journalism
Masscomm in General
Photo Journalism
Public Relations
Computers and IT
Application Programming
Embedded Systems
Hardware Courses
IT in General
Networking
Software Courses
Telecom
Vocational Studies
Six Sigma Certification
Vedic Studies
Medicine and Health Care
Clinical Research
Counsellors
Dental Sciences
Health Care Management
Homeopathy
Medicine in General
Neurosciences
Nursing
Physiotherapy
Psychology
Arts, Law and Languages
Arts & Humanities
Counsellors
Creative Arts
Government Sector
Languages
Law, Legal
Social Sciences
Professional Courses
Advertising & PR
Architecture
Call Center Training
Content/creative writing
Counsellors
Education, Teaching
Fashion Designing
Health and Beauty
Interior Designing
Photography
Counsellors/Consultants
Admission Consultants
Consultants for study abroad
Counsellors
Animation and Multimedia
Animation
Graphic Designing
Web Designing
Hospitality and Tourism
Event Management
Hotel Management
Travel & Tourism
Featured Colleges
Previous
Next
JagSchool of Transformative Skills
PDPM Indian Institute of Information Technology Design Manufacturing
Global Institute Of Technology & Management
Institute for future education Entrepreneurship and leadership
Schools
Schools
Air Force Schools
Army/ Military Schools
Catholic Schools
International Schools
Montessori Schools
Kendriya Vidyalayas
Navodaya Vidyalayas
Public Schools
Schools for Blind
Schools For Special Kids
Physically Challenged
Study Abroad
Educational Boards
Council for Indian School Certificate Exam.
Central Board of Secondary Education
National Institute of Open Schooling
Board of High School and Intermediate Edu.
Jammu and Kashmir State Board of School Edu.
Maharashtra Board of Sec. & Higher Sec. Edu.
Tamil Nadu Board of Secondary Education
Manipur Board of Secondary Education
Rajasthan Board of Secondary Education
Karnataka Open School
Madhya Pradesh Board of Secondary Education
Coaching Classes
Banking Exams
CA/CS/CFA
Civil Services
College tutions
Counsellors
Engineering entrance exams
GMAT
Law Entrance exams
MBA/BBA Entrance
Medical Entrance
NDA/CDS (defence)
Secondary / Higher Sec. Schools
TOEFL/IELTS/TOEIC/SAT/GRE
Railway Exams
Play Schools / Primary Schools
Sec. / Higher Sec. Schools
Universities
Vocational Studies universities
Professional Courses universities
Medicine and Health Care universities
Media, Films and Mass Communication universities
Management and Business universities
Hospitality and Tourism Management universities
Animation and Multimedia universities
Engineering and Science universities
Counsellors/Consultants universities
Computers / IT universities
Banking, Finance and Accounting universities
Aviation universities
Arts, Law and Languages universities
State Universities
GB Pant University of Agriculture
Kerala Agricultural University
Yogi Vemana University
Dr. A.P.J. Abdul Kalam Technical University
West Bengal University of Technology
West Bengal State University
Vijayanagara Sri Krishnadevaraya University
Central Universities
Indira Gandhi National Open University
Rajiv Gandhi University
Assam University
Companies
Private Limited Companies
Reliance Industries Limited
Tata Consultancy Services (TCS)
Infosys Technologies Limited
Wipro Limited
Bharti Tele-Ventures Limited
ITC Limited
Hindustan Lever Limited
ICICI Bank Limited
Public Limited Companies
Central Industrial Security Force
Steel Authority of India Ltd.
NHPC Limited
Uttarakhand Jal Vidyut Nigam Limited
Hindustan Copper Limited
MSTC Limited
Central Coalfields Limited
Projects & Development India Limited
State Recruitment Boards
Andhra Pradesh Public Service Commission
Uttar Pradesh Public Service Commission
Central Recruitment Boards
Institute of Banking Personnel Selection(IBPS)
Railway Recruitment Board
Staff Selection Commission
Study Material (MCQs)
All MCQs
SQL Server
Unix
Computer Organization
MongoDB
Internet of things (IoT)
Cyber Security
Cascading Style Sheets (CSS)
Apache Hadoop
Cloud Computing
Artificial Intelligence
JUnit
Operating System
Automobile Engineering
Energy Engineering
Power Plant
Control Systems
Power Electronics
JavaScript
Data Structure
Digital Signal Processing
MATLAB
Current Affairs
Education and Teaching
हिंदी भाषा
English Language
सामान्य हिंदी
Applied Chemistry
Environmental Studies
C
C++
C#
Java
Chemistry
Physics
Electrical Engineering
Banking Awareness
Networking
Structured Query (SQL)
Computer Fundamentals
Logical Reasoning
Verbal Reasoning
Non Verbal Reasoning
General English
General Knowledge
Arithmetic Aptitude
Embedded System
Digital Communication
Career Options
Jobs
All Jobs
State wise Jobs
Andaman & Nicobar Islands
Andhra Pradesh
Arunachal Pradesh
Assam
Bihar
Chandigarh
Chhattisgarh
Dadra & Nagar Haveli
Daman & Diu
Delhi
Goa
Gujarat
Haryana
Himachal Pradesh
Jammu & Kashmir
Jharkhand
Karnataka
Kerala
Lakshadweep
Madhya Pradesh
Maharashtra
Education wise Jobs
10
10+2
B Pharma/M Pharma
B.A.
B.Com.
B.E./B.Tech.
B.Sc.
BBA
BCA
BEd/MEd
CA
Diploma
Graduate
ITI
LLB
LLM
M.A.
M.Com.
M.E./M.Tech.
M.Sc.
MBA/PGDBM
KeySkill wise Jobs
Accounting
Advertisement And Marketing
Analytics
Architecture
Artificial Intelligence
Auditing
Banking
Call Center
Computer Operator
Consulting
Content Writing
Customer Relationship
Data Entry
Event Management
Fashion Design
Freelancer
Hardware And Networking
HR
IT Hardware
more...
Industy wise Jobs
Agriculture
Analyst / Analytics
Apparel
Automobiles
Aviation
Bank
BPO
Computer Operator
Consulting Services
Core Technical
Defence
Digital Marketing
Educational Training
Energy
Fashion
FMCG
Government
Health Care
Hospitality
Internship
more...
Role wise Jobs
Advertising
Architect
Backend Operations
Beautician / Spa
Chef / Cook
Civil Engineering
Content Writer
Counsellor
Customer Service Executive
Data Entry / Back Office
Delivery Executive
Design / Animation
Doctors
Electronics
Engineer (Core, Non-IT)
Event Management
Export Import
Fashion designer
Freelancing
Fresher
more...
Other Related Jobs
Online Marketing
Product Management
Proof Reading
Public Speaking
Retail
Sales
SEO
Social Media
System Integration
Tally
Tax
Teaching
Tech Support
Translation
NGO
Part Time
Printing
Real Estate
Research
Sales and Marketing
Sports
Results
Practice Set
Expert Ask
|
Colleges
Schools
Coaching Classes
Study Material(MCQs)
Practice Paperset
Career Options
Jobs
Results
Articles
News
Ask to an Expert
Exams Alerts
mcqs
csharp
polymorphism
×
Get Started Now!
38,000+ Colleges/Courses/Coaching Classess
18,000+ MCQ for Entrance Exams & Jobs
Give Online Test and download Sample PDF PaperSet
Ask Questions to senior Counselors
Detailed dicussion on Topic / Question
Get latest update on Career options
Get latest Jobs / Exams / Result alerts
Read latest articles on education and technology
Earn more rewards points on every activity
and much more ...
|
Forgot password?
Topic List
Namespaces
Delegates
Exception Handling
Arrays
Classes and Objects
Polymorphism
.NET Framework
Datatypes
Attributes
Collection Classes
Constructors
Interfaces
Operators
Enumerations
Properties
Functions and Subroutines
Generics
Inheritance
Strings
Structures
Polymorphism on C# related Questions and Answers
Question 1 :
Which of the following statements is correct?
1.
Only one object can be created from an abstract class.
2.
By default methods are virtual.
3.
If a derived class does not provide its own version of virtual method then the one in the base class is used.
4.
If the method in the derived class is not preceded by override keywords, the compiler will issue a warning and the method will behave as if the overri
5.
Each derived class does not have its own version of a virtual method.
View Answer
Discuss with Members
Question 2 :
In order for an instance of a derived class to completely take over a class member from a base class, the base class has to declare that member as
1.
new
2.
base
3.
virtual
4.
overrides
5.
overloads
View Answer
Discuss with Members
Question 3 :
Which of the following modifier is used when a virtual method is redefined by a derived class?
1.
overloads
2.
override
3.
overridable
4.
virtual
5.
base
View Answer
Discuss with Members
Question 4 :
Which of the following statements is correct?
1.
The conditional logical operators cannot be overloaded.
2.
When a binary operator is overloaded the corresponding assignment operator, if any, must be explicitly overloaded.
3.
We can use the default equality operator in an overloaded implementation of the equality operator.
4.
A public or nested public reference type does not overload the equality operator.
5.
The array indexing operator can be overloaded.
View Answer
Discuss with Members
Question 5 :
Which of the following statements is correct?
1.
Static methods can be a virtual method.
2.
Abstract methods can be a virtual method.
3.
It is necessary to override a virtual method.
4.
When overriding a method, the names and type signatures of the override method must be the same as the virtual method that is being overriden.
5.
We can override virtual as well as non-virtual methods.
View Answer
Discuss with Members
Question 6 :
Which of the followings is the correct way to overload + operator?
1.
public sample operator + ( sample a, sample b )
2.
public abstract operator + ( sample a, sample b)
3.
public abstract sample operator + (sample a, sample b )
4.
public static sample operator + ( sample a, sample b )
5.
All of the above
View Answer
Discuss with Members
Question 7 :
Which of the following keyword is used to overload user-defined types by defining static member functions?
1.
op
2.
opoverload
3.
operator
4.
operatoroverload
5.
operatoroverload
View Answer
Discuss with Members
Question 8 :
Which of the following statements is correct?
1.
When used as a modifier, the new keyword explicitly hides a member inherited from a base class.
2.
Operator overloading works in different ways for structures and classes.
3.
It is not necessary that all operator overloads are static methods of the class.
4.
The cast operator can be overloaded.
5.
All of the above
View Answer
Discuss with Members
Question 9 :
Which of the following keyword is used to change the data and behavior of a base class by replacing a member of a base class with a new derived member?
1.
new
2.
base
3.
overloads
4.
override
5.
overridable
View Answer
Discuss with Members
Question 10 :
A derived class can stop virtual inheritance by declaring an override as
1.
inherits
2.
extends
3.
inheritable
4.
not inheritable
5.
sealed
View Answer
Discuss with Members
View 1 - 10 of 10 Questions
Pages :
First
1
2
Last
* Be the First to Post a Comment.
Submit comment :
Ask Question
Note :
Name and Email never shown.
Subscribe
Become a part of EducationForever. Subscribe to our FREE Newsletter