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
May 19, 2019
425
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
May 19, 2019
by
logan1x
425
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
210
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
210
views
oops
class
0
votes
0
votes
1
answer
2
Sanjay Sharma
asked
in
Object Oriented Programming
Nov 16, 2021
315
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
315
views
oops
0
votes
0
votes
1
answer
3
shaff
asked
in
Programming
Jun 22, 2016
248
views
Programming
shaff
asked
in
Programming
Jun 22, 2016
by
shaff
248
views
programming-in-c
class
2
votes
2
votes
0
answers
4
Manu Madhavan
asked
in
Object Oriented Programming
Jan 11, 2018
506
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 11, 2018
by
Manu Madhavan
506
views
oops
Subscribe to GATE CSE 2023 Test Series
Subscribe to GO Classes for GATE CSE 2023
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
From Rank 4200 to 64: My Journey to Success in GATE CSE Exam
What are the key things to focus on during the final 10-15 days before the GATE exam to improve performance?
All India GO Classes Mock test
NTA UGC NET JRF December 2022 Apply Online Form 2023
Life happens, just chill and do hardwork
Subjects
All categories
General Aptitude
(2.5k)
Engineering Mathematics
(9.3k)
Digital Logic
(3.3k)
Programming and DS
(5.8k)
Programming
(3.9k)
DS
(1.9k)
Algorithms
(4.6k)
Theory of Computation
(6.7k)
Compiler Design
(2.3k)
Operating System
(5.0k)
Databases
(4.6k)
CO and Architecture
(3.8k)
Computer Networks
(4.6k)
Non GATE
(1.3k)
Others
(2.4k)
Admissions
(649)
Exam Queries
(842)
Tier 1 Placement Questions
(17)
Job Queries
(74)
Projects
(9)
Unknown Category
(853)
Recent Blog Comments
AIMT is live now:...
It is at 9:30. Test Link will be available at...
@Deepak Poonia @Sachin Mittal 1 sir...
@mahendrapatel
Initially go classes planned on saturdays but...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy