<< < 99 100 101 102 103 104 105 106 107 108 109 > >>   Sort: Date

Is it necessary that each try block must be followed by a catch block?
Is it necessary that each try block must be followed by a catch block? It is not necessary that each try block must be followed by a catch block. It should be followed by either a catch block OR a finally block. And whatever exceptions are likely to be thrown should be declared in the throws clause ...
2013-06-03, 4005👍, 0💬

What is an orthogonal base class? C++
What is an orthogonal base class? C++ If two base classes have no overlapping methods or data they are said to be independent of, or orthogonal to each other. Orthogonal in the sense means that two classes operate in different dimensions and do not interfere with each other in any way. The same deri...
2012-01-16, 4005👍, 0💬

What’s a quick way to append a value to an array?
What’s a quick way to append a value to an array? arr[arr.length] = value;
2010-12-28, 4005👍, 0💬

How to add Buttons in JavaScript?
How to add Buttons in JavaScript? The most basic and ancient use of buttons are the "submit" and "clear", which appear slightly before the Pleistocene period. Notice when the "GO!" button is pressed it submits itself to itself and appends the name in the URL. &lt;form action="" name="buttonsGalo...
2010-07-13, 4002👍, 0💬

How to make a array as a stack using JavaScript?
How to make a array as a stack using JavaScript? The pop() and push() functions turn a harmless array into a stack: &lt;script type="text/javascript"> var numbers = ["one", "two", "three", "four"]; numbers.push("five"); numbers.push("six"); document.write(numbers.pop()); document.write(numbers.p...
2011-07-26, 3999👍, 0💬

How tp create Arrays using JavaScript??
How tp create Arrays using JavaScript?? &lt;script type="text/javascript"> var days = new Array(); days[0] = "Sunday" days[1] = "Monday" days[2] = "Tuesday" days[3] = "Wednesday" days[4] = "Thursday" days[5] = "Friday" days[6] = "Saturday" document.write("first day is "+days[0]) &lt;/script>...
2011-07-12, 3985👍, 0💬

What is deadlock? C++
What is deadlock? C++ Deadlock is a situation when two or more processes prevent each other from running. Example: if T1 is holding x and waiting for y to be free and T2 holding y and waiting for x to be free deadlock happens.
2012-04-09, 3983👍, 0💬

What does the term sticky session mean in a web-farm scenario?
What does the term sticky session mean in a web-farm scenario? Why would you use a sticky session? What is the potential disadvantage of using a sticky session? Sticky session refers to the feature of many commercial load balancing solutions for web-farms to route the requests for a particular sessi...
2011-01-04, 3982👍, 0💬

What is the difference between undefined value and null value?
What is the difference between undefined value and null value? Undefined value cannot be explicitly stated that is there is no keyword called undefined whereas null value has keyword called null. typeof undefined variable or property returns undefined whereas typeof null value returns object
2011-01-18, 3979👍, 0💬

How to create a confirmation box?
How to create a confirmation box? confirm("Do you really want to launch the missile?");
2011-03-08, 3969👍, 0💬

What is a fixed-width table and its advantages?
What is a fixed-width table and its advantages? Fixed width tables are rendered by the browser based on the widths of the columns in the first row, resulting in a faster display in case of large tables. Use the CSS style table-layout:fixed to specify a fixed width table. If the table is not specifie...
2010-07-06, 3967👍, 0💬

If I write System.exit (0); at the end of the try block, will the finally block still execute?
If I write System.exit (0); at the end of the try block, will the finally block still execute? No in this case the finally block will not execute because when you say System.exit (0); the control immediately goes out of the program, and thus finally never executes.
2013-06-04, 3966👍, 0💬

Name the numeric constants representing max, min values
Name the numeric constants representing max, min values Number.MAX_VALUE Number.MIN_VALUE
2010-12-14, 3966👍, 0💬

How to delete an entry using JavaScript?
How to delete an entry using JavaScript? The "delete" operator removes an array element, but oddly does not change the size of the array. &lt;script type="text/javascript"> var days = ["Sunday","Monday","Tuesday"," Wednesday","Thursday","Friday","Saturday" ];document.write("Number of days:"+days...
2011-07-19, 3952👍, 0💬

Which arithmetic operations can result in the throwing of an ArithmeticException?
Which arithmetic operations can result in the throwing of an ArithmeticException? Integer / and % can result in the throwing of an ArithmeticException.
2013-01-16, 3951👍, 0💬

What boolean operators does JavaScript support?
What boolean operators does JavaScript support? &amp;&amp;, || and !
2010-09-28, 3951👍, 0💬

Is a JavaScript script faster than an ASP script?
Is a JavaScript script faster than an ASP script? Yes. Since JavaScript is a client-side script it does not require the web server's help for its computation, so it is always faster than any server-side script like ASP, JSP, PHP, etc..
2010-08-31, 3950👍, 0💬

How does one compile MS Help files?
How does one compile MS Help files? The Microsoft Help Compiler does not ship with Designer/2000 or Developer/2000, but you can download it from here: * Where to Get Compilers and Other Files? Note: Designer/2000 includes a Help Generator that can generate source files for the Help Compiler.
2011-05-03, 3941👍, 0💬

How to remove the event listener?
How to remove the event listener? &lt;script type="text/javascript">&lt ;!--document.getElementById("hitme 4").removeEventListener("click ",hitme4, false); // --&gt; &lt;/script> Key Events "onkeydown", "onkeypress", "onkeyup" events are supported both in ie and standards-based browse...
2011-05-31, 3940👍, 0💬

How do you create a new object in JavaScript?
How do you create a new object in JavaScript? var obj = new Object(); or var obj = {};
2010-12-21, 3940👍, 0💬

What and where are the best JavaScript resources on the Web?
What and where are the best JavaScript resources on the Web? The Web has several FAQ areas on JavaScript. The best place to start is the w3schools.com website. For interactive help with specific problems, nothing beats the primary JavaScript Usenet newsgroup, comp.lang.javascript. Depending on my wo...
2010-09-21, 3940👍, 0💬

How to shift and unshift using JavaScript?
How to shift and unshift using JavaScript? &lt;script type="text/javascript"> var numbers = ["one", "two", "three", "four"]; numbers.unshift("zero"); document.write(" "+numbers.shift()); document.write(" "+numbers.shift()); document.write(" "+numbers.shift()); &lt;/script> This produces zero...
2011-08-02, 3937👍, 0💬

What does the delete operator do?
What does the delete operator do? The delete operator is used to delete all the variables and objects used in the program ,but it does not delete variables declared with var keyword.
2011-07-12, 3937👍, 0💬

How can JavaScript be used to improve the "look and feel" of a Web site? By the same token, how can JavaScript be used to improv
How can JavaScript be used to improve the "look and feel" of a Web site? By the same token, how can JavaScript be used to improve the user interface? On their own, Web pages tend to be lifeless and flat unless you add animated images or more bandwidth-intensive content such as Java applets or other ...
2010-06-15, 3936👍, 0💬

<< < 99 100 101 102 103 104 105 106 107 108 109 > >>   Sort: Date