CppBuzz.com
  
Home C C++ Java Python Perl PHP SQL Javascript Linux Forum

You are here : Home » Java » Java Interview Questions on Exception

Java Interview Questions on Exception - 14


Question: 1

(A) Yes
(B) No

DiscussOnForum
Beginner exceptions[Posted by: Admin | Chicago, USA]



Question: 2

(A) -100
(B) Compilation Error
(C) Exception since catch is missing
(D) Exception since finally is missing

DiscussOnForum
Beginner exceptions[Posted by: Admin | Chicago, USA]



Question: 3

(A) Yes
(B) No It is compilation error

DiscussOnForum
Beginner exceptions[Posted by: Admin | Chicago, USA]



Question: 4

(A) -100
(B) null
(C) -100null
(D) null-100

DiscussOnForum
Practitioner exceptions[Posted by: Admin | Chicago, USA]



Question: 5

(A) -100null
(B) -100
(C) null
(D) Compilation Error - unreachable statement at line 8

DiscussOnForum
Practitioner exceptions[Posted by: Admin | Chicago, USA]



Question: 6

(A) Exception
(B) Throwable
(C) JavaBase
(D) Error

DiscussOnForum
Expert exceptions[Posted by: Admin | Chicago, USA]



Question: 7

(A) NullPointerException
(B) NumberFormatException
(C) ClassCastException
(D) ParseException

DiscussOnForum
Beginner exceptions[Posted by: Admin | Chicago, USA]



Question: 8

(A) NumberFormatException
(B) IllegalArgumentException
(C) RuntimeException
(D) ParseException

DiscussOnForum
Expert exceptions[Posted by: Admin | Chicago, USA]



Question: 9

DiscussOnForum
Beginner exceptions[Posted by: Admin | Chicago, USA]



Question: 10

(A) throws
(B) finally
(C) catch
(D) throw

DiscussOnForum
Beginner exceptions[Posted by: Arvind | Navi Mumbai India]



Question: 11

(A) finally
(B) catch
(C) finally & catch
(D) none of the mentioned

DiscussOnForum
Beginner exceptions[Posted by: Arvind | Navi Mumbai India]



Question: 12

(A) java.io
(B) java.util
(C) java.lang
(D) java.net

DiscussOnForum
Beginner exceptions[Posted by: Arvind | Navi Mumbai India]



Question: 13

(A) 5 10
(B) 5 10 CppBuzz1
(C) 5 10 CppBuzz2
(D) Compilation Error

DiscussOnForum
Expert exceptions[Posted by: Admin | Chicago, USA]



Question: 14

(A)
(B)

DiscussOnForum
Beginner exceptions[Posted by: Admin | Chicago, USA]


[Contribute to this Website]


Browse Java Categories

Datatype Variables Operators Decision Making Loops Methods Reference Variables Arrays Classes and Objects Abstract Class Singleton Class Modifiers Inheritance Overriding Polymorphism Abstraction Encapsulation Files and I/O TypeCasting Packages Exceptions Collections Framework Numbers Class Date & Time Regular Expressions Data Structures Interfaces Serialization Multithreading Networking Sending Email Applet Basics Other