MCQOPTIONS
Bookmark
Saved Bookmarks
→
Java Programming
→
Exceptions
→
which two code fragments will compile?..
1.
which two code fragments will compile?
A.
1 and 2
B.
2 and 3
C.
3 and 4
D.
1 and 5
Answer» D. 1 and 5
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
which two code fragments inserted at end of the program, will allow to compile?
Which two statements are true for any concrete class implementing the java.lang.Runnable interface?
which two statements, added independently at beginning of the program, allow the code to compile?
Which three statements are true?
which statement is true?
Which is valid in a class that extends ?
which two code fragments will compile?
public class Outer { public void someOuterMethod() { //Line 5 } public class Inner { } public static void main(String[] argv) { Outer ot = new Outer(); //Line 10 } } Which of the following code fragments inserted, will allow to compile?
The line that is not used to turn on the event scheduler is _________________
The statement that is used to check the status of the event scheduler at runtime is _____________
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply