0% found this document useful (0 votes)
24 views2 pages

SSE Questionnaire

The document contains a list of 14 questions about Java programming concepts with their answers. The questions cover topics like Java experience, exception handling, interfaces, serialization, inheritance from Throwable class, access modifiers, thread termination events, and time complexity of data structures.

Uploaded by

Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views2 pages

SSE Questionnaire

The document contains a list of 14 questions about Java programming concepts with their answers. The questions cover topics like Java experience, exception handling, interfaces, serialization, inheritance from Throwable class, access modifiers, thread termination events, and time complexity of data structures.

Uploaded by

Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Sl.

No Question Answer
   
1 How much years of experience you have in Java 2.5
2 How much would you rate yourself in scale of 0 to 10? 9
3 In last 2 years have you worked on any java based projects? Yes
Are you comfortable with core and advanced java technical Yes
4
interview.

10) What does the expression float a = 35 / 0 return? d

a. 0
5 b. Not a Number
c. Infinity
d. Run time exception

a
The \u0021 article referred to as a

a. Unicode escape sequence


6
b. Octal escape
c. Hexadecimal
d. Line feed

An interface with no fields or methods is known as a ______. a

a. Runnable Interface
b. Marker Interface
7 c. Abstract Interface
d. CharSequence Interface

In which area of memory, the system stores parameters and a


local variables whenever a method is invoked ?

a. Stack
8 b. Heap
c. Register
d. Buffer

c
What are the possible scenarios where any data member of a
serialized class should not be serialized.

9 a. Transient keyword / Static keyword/ Externalize


b. Static keyword / Final keyword / Externalize
c. Transient keyword / Final Keyword / Abstract Keyword
d. Transient keyword / Abstract Keyword / Externalize
Which of these classes are the direct subclasses of the c
Throwable class?

a. RuntimeException and Error class


10 b. Exception and VirtualMachineError class
c. Error and Exception class
d. IOException and VirtualMachineError class

A method within a class is only accessible by classes that are d


defined within the same package as the class of the method.
Which one of the following is used to enforce such restriction?

a. Declare the method with the keyword public


11
b. Declare the method with the keyword private
c. Declare the method with the keyword protected
d. Do not declare the method with any accessibility modifiers

Which of the following events will cause a thread to die? d

a. The method sleep( ) is called


12 b. The method wait( ) is called
c. Execution of the start( ) method ends
d. Execution of the run( ) method ends

Which of these is synchronized? c

a.ArrayList
13 b.LinkedList
c.Vector
d.(None of these)

An ordered array has a search time complexity of? b

a.O(n)
b.O(1)
14 c.O(log n)
d.O(n-1)

You might also like