<< < 116 117 118 119 120 121 122 123 124 125 126 > >>   Sort: Date

How many methods in the Serializable interface?
How many methods in the Serializable interface? There is no method in the Serializable interface. The Serializable interface acts as a marker, telling the object serialization tools that your class is serializable.
2012-05-28, 2816👍, 0💬

What are the advantages of inheritance?
What are the advantages of inheritance? It permits code reusability. Reusability saves time in program development. It encourages the reuse of proven and debugged high-quality software, thus reducing problem after a system becomes functional.
2012-01-26, 2815👍, 0💬

Does a class inherit the constructors of its superclass?
Does a class inherit the constructors of its superclass? A class does not inherit constructors from any of its superclasses.
2012-07-20, 2813👍, 0💬

How to read file into hash array ?
How to read file into hash array ? open(IN, "&lt;name_file") or die "Couldn't open file for processing: $!"; while (&lt;IN&gt;) { chomp; $hash_table{$_} = 0; } close IN; print "$_ = $hash_table{$_}\n" foreach keys %hash_table;
2013-09-10, 2811👍, 0💬

How does JSP handle runtime exceptions?
How does JSP handle runtime exceptions? Using errorPage attribute of page directive and also we need to specify isErrorPage=true if the current page is intended to URL redirecting of a JSP.
2013-08-20, 2811👍, 0💬

What is the immediate superclass of the Dialog class?
What is the immediate superclass of the Dialog class? Window.
2012-10-05, 2807👍, 0💬

Write a Struct Time where integer m, h, s are its members
Write a Struct Time where integer m, h, s are its members struct Time { int m; int h; int s; };
2012-01-20, 2804👍, 0💬

How the object oriented approach helps us keep complexity of software development under control?
How the object oriented approach helps us keep complexity of software development under control? We can discuss such issue from the following aspects: Objects allow procedures to be encapsulated with their data to reduce potential interference. Inheritance allows well-tested procedures to be reused ...
2012-08-14, 2800👍, 0💬

What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?
What is the word you will use when defining a function in base class to allow this function to be a polimorphic function? virtual
2012-02-16, 2800👍, 0💬

What can go wrong if you replace &emp;&emp; with &emp; in the following code: String a=null; if (a!=null && a.length()&gt;10) {
What can go wrong if you replace &emp;&emp; with &emp; in the following code: String a=null; if (a!=null && a.length()&gt;10) {...} A single ampersand here would lead to a NullPointerException.
2012-06-19, 2799👍, 0💬

What is the difference between throw and throws keywords?
What is the difference between throw and throws keywords? The throw keyword denotes a statement that causes an exception to be initiated. It takes the Exception object to be thrown as argument. The exception will be caught by an immediately encompassing try-catch construction or propagated further u...
2012-07-19, 2797👍, 0💬

What is a transient variable?
What is a transient variable? A transient variable is a variable that may not be serialized. If you don't want some field to be serialized, you can mark that field transient or static.
2012-05-30, 2797👍, 0💬

What is a container class? C++ What are the types of container classes?
What is a container class? C++ What are the types of container classes? A container class is a class that is used to hold objects in memory or external storage. A container class acts as a generic holder. A container class has a predefined behavior and a well-known interface. A container class is a ...
2012-01-16, 2794👍, 0💬

Why do threads block on I/O?
Why do threads block on I/O? Threads block on I/O (that is enters the waiting state) so that other threads may execute while the I/O Operation is performed.
2012-09-14, 2793👍, 0💬

How do you find out if a linked-list has an end? (i.e. the list is not a cycle)
How do you find out if a linked-list has an end? (i.e. the list is not a cycle) You can find out by using 2 pointers. One of them goes 2 nodes each time. The second one goes at 1 nodes each time. If there is a cycle, the one that goes 2 nodes each time will eventually meet the one that goes slower. ...
2012-01-24, 2791👍, 0💬

Can We Multiple Script Manager in Ajax?
Can We Multiple Script Manager in Ajax? Can We have multiple content place holder in Master pages in asp.net? In Javascript While click a submit at the time a new text box will be displayed ? Give examples and their methods used
2013-10-23, 2790👍, 0💬

What are synchronized methods and synchronized statements?
What are synchronized methods and synchronized statements? Synchronized methods are methods that are used to control access to a method or an object. A thread only executes a synchronized method after it has acquired the lock for the method's object or class. Synchronized statements are similar to s...
2012-06-04, 2784👍, 0💬

What is the difference between the File and RandomAccessFile classes?
What is the difference between the File and RandomAccessFile classes? The File class encapsulates the files and directories of the local file system. The RandomAccessFile class provides the methods needed to directly access data contained in any part of a file.
2013-01-08, 2783👍, 0💬

How can you debug failed assembly binds?
How can you debug failed assembly binds? Use the Assembly Binding Log Viewer (fuslogvw.exe) to find out the paths searched.
2014-12-19, 2779👍, 0💬

How is rounding performed under integer division?
How is rounding performed under integer division? The fractional part of the result is truncated. This is known as rounding toward zero.
2012-11-14, 2778👍, 0💬

Interview question
Have you ever worked without salary?
2020-02-20, 2777👍, 0💬

The Equivalent Html Control for the &lt;input type=”checkbox”> tag is
The Equivalent Html Control for the &lt;input type=”checkbox”> tag is The Equivalent Html Control for the &lt;input type=”checkbox”> tag is * HtmlCheckBox * HtmlInputChkBox * HtmlInputCheckBox * HtmlInputTypeChkBox HtmlInputCheckBox
2014-06-23, 2777👍, 0💬

Why would you use a synchronized block vs. synchronized method?
Why would you use a synchronized block vs. synchronized method? Synchronized blocks place locks for shorter periods than synchronized methods.
2012-07-27, 2774👍, 0💬

What are the different identifier states of a Thread?
What are the different identifier states of a Thread? The different identifiers of a Thread are: R - Running or runnable thread S - Suspended thread CW - Thread waiting on a condition variable MW - Thread waiting on a monitor lock MS - Thread suspended waiting on a monitor lock
2013-02-07, 2772👍, 0💬

<< < 116 117 118 119 120 121 122 123 124 125 126 > >>   Sort: Date