Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
oops doubt
logan1x
asked
in
Programming in C
May 19, 2019
652
views
0
votes
0
votes
A default catch block catches,
[A]. all thrown objects
[B]. no thrown objects
[C]. any thrown object that has not been caught by an earlier catch block
[D]. all thrown objects that have been caught by an earlier catch block
oops
class
try-catch
non-gate
logan1x
asked
in
Programming in C
May 19, 2019
by
logan1x
652
views
answer
comment
Follow
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
2
Answers
1
vote
1
vote
Best answer
Is answer c
Kaluti
answered
May 21, 2019
selected
Nov 3, 2019
by
logan1x
by
Kaluti
comment
Follow
share this
4 Comments
Show 2 previous comments
by
toxicdesire
commented
Oct 31, 2019
reply
Follow
share this
No I don't think so. The control goes to the catch block when first Exception is thrown. Subsequent throw lines will not be executed.
0
0
by
Shagun Singh
commented
Oct 31, 2019
reply
Follow
share this
Got it
Thanks
1
1
by
logan1x
commented
Nov 3, 2019
reply
Follow
share this
Thank you for explaining.
0
0
Please
log in
or
register
to add a comment.
0
votes
0
votes
Option (A): All thrown objects
Shagun Singh
answered
Oct 31, 2019
by
Shagun Singh
comment
Follow
share this
0 Comments
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
1
vote
1
vote
0
answers
1
Balaji Jegan
asked
in
Compiler Design
Nov 12, 2018
272
views
Object Oriented Programming Doubt
Please tell why the answer is C, why not A or B?
Balaji Jegan
asked
in
Compiler Design
Nov 12, 2018
by
Balaji Jegan
272
views
oops
class
0
votes
0
votes
1
answer
2
Sanjay Sharma
asked
in
Object Oriented Programming
Nov 16, 2021
709
views
PGT CS oops
In context of C++, which of the following is valid statement ? (1) Friend function of class is always a member function of that class. (2) Value of static data member cannot be manipulated once assigned. (3) Static data member of a class can be ... member function of that class. (4) Keywords private, protected and public may appear in any order and any number of times in a class
Sanjay Sharma
asked
in
Object Oriented Programming
Nov 16, 2021
by
Sanjay Sharma
709
views
oops
0
votes
0
votes
1
answer
3
shaff
asked
in
Programming in C
Jun 21, 2016
361
views
Programming
shaff
asked
in
Programming in C
Jun 21, 2016
by
shaff
361
views
programming-in-c
class
2
votes
2
votes
0
answers
4
Manu Madhavan
asked
in
Object Oriented Programming
Jan 10, 2018
723
views
Data Hiding C++
Which of the following concepts of OOPS means exposing only necessary information to client? A. Encapsulation B. Abstraction C. Data hiding D. Data binding Answer is C, Why?
Manu Madhavan
asked
in
Object Oriented Programming
Jan 10, 2018
by
Manu Madhavan
723
views
oops
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Programming
(4.1k)
Programming in C
(4.1k)
Programming in Python
(5)
DS
(2.0k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy