McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2024
→
Mechanical Engineering
→
Principles of Programming Languages
→
exception is throw using the keyword ?
Q.
exception is throw using the keyword ?
A.
thrown
B.
throw
C.
throws
D.
throwing
Answer» B. throw
2.6k
0
Do you find this helpful?
15
View all MCQs in
Principles of Programming Languages
Discussion
No comments yet
Login to comment
Related MCQs
which keyword is use to check exception?
For defining interface in java --------- keyword is used?
exception handling is for….
What is the maximum number of handlers processed before the PL/SQL block is exited when an exception occure?
In C, reference is declared using the symbol
What will be the output of following code? #include <iostream> using namespace std; int main() { enum color { blue, orange, green }; enum fruit { apple, guava, orange }; int i = 0; for (i = blue; i <= green; i++) printf("%d", i); return 0; }
What is the output of following code? #include <iostream> using namespace std; int main() { int I; enum test { a = 1, b, c, d, e, f, g, h }; for (i = c; i <= g; i++) cout << " " << I; return 0; }
#include <iostream> using namespace std; int main() { float a = 22.22; double b = 22.22; if (a == b) cout << "Matching"; else cout << "Not Matching"; return 0; }
What will be the output of the following code? #include <iostream.h> using namespace std; int main() { float a = 'a'; cout << a; return 0; }
#include <iostream> using namespace std; int main() { int a = 10, b = 20; a = a++; b = ++b; cout << a << b; return 0; }