sudhakar rao


{ City } hyderabad
< Country > india
* Profession * se
User No # 80478
Total Questions Posted # 1
Total Answers Posted # 3

Total Answers Posted for My Questions # 0
Total Views for My Questions # 1594

Users Marked my Answers as Correct # 15
Users Marked my Answers as Wrong # 4
Questions / { sudhakar rao }
Questions Answers Category Views Company eMail

Does any one has the last question papers/questions related to voluntary retirement scheme (or) safety related retirement scheme (SRRS)? If not please let me know the pattern of test? Thanks in advance. Regards, Sudhakar

RRB,

Everything Else AllOther 1594




Answers / { sudhakar rao }

Question { IBM, 23566 }

what exactly happens when we execute
"Class.forname("Driver class name");"?Explain indetail


Answer

By the end of the execution of Class.forName("Driver
class"); the driver class should be loaded into the memory
but also
1. The driver class should be initialized
2. Should be registered with the driver manager class
The above two operations are not done by forName() . So a
pure Static() block is defined in which the above two tasks
are manipulated and by which we are able to get connection,
immediately after loading the driver class without writing
any code to initialize the driver class.

Is This Answer Correct ?    4 Yes 1 No

Question { TCS, 15492 }

When does the compiler supply a default constructor for a
class?


Answer

When we donot override the default constructor in a class,
which is extended implicitly by our class from java.lang
package, compiler supplies it.

Is This Answer Correct ?    2 Yes 3 No


Question { Ordain Solutions, 9985 }

How does serialization work


Answer

Serialization is a marker interface to tell the jvm that
the class extending Serializable interface wants to persist
or write its state over the output stream. All the
variables other than transient type can only be persisted.

Is This Answer Correct ?    9 Yes 0 No