<< < 144 145 146 147 148 149 150 151 152 153 154 > >>   Sort: Date

Name few Garbage collection algorithms?
Name few Garbage collection algorithms? Here they go: Mark and Sweep Reference counting Tracing collectors Copying collectors Heap compaction Mark-compact collectors
2013-03-20, 2061👍, 0💬

What is GAC?
What is GAC? The global assembly cache stores assemblies specifically designated to be shared by several applications on the computer. You should share assemblies by installing them into the global assembly cache only when you need to. Assemblies deployed in the global assembly cache must have a str...
2013-10-25, 2059👍, 0💬

How is static Synchronization different form non-static synchronization?
How is static Synchronization different form non-static synchronization? When Synchronization is applied on a static Member or a static block, the lock is performed on the Class and not on the Object, while in the case of a Non-static block/member, lock is applied on the Object and not on class. [Tr...
2013-03-19, 2058👍, 0💬

What is the difference between static and non-static variables?
What is the difference between static and non-static variables? A static variable is associated with the class as a whole rather than with specific instances of a class. Non-static variables take on unique values with each object instance.
2012-12-11, 2058👍, 0💬

Which of the following operators has the highest precedence?
Which of the following operators has the highest precedence? * Pre Increment (++x) * Shift bits left: &lt;&lt; * Bitwise Or: | * Post Increment (x++) Shift bits left
2014-03-19, 2057👍, 0💬

How many messaging models do JMS provide for and what are they?
How many messaging models do JMS provide for and what are they? JMS provide for two messaging models, publish-and-subscribe and point-to-point queuing.
2013-07-12, 2056👍, 0💬

What is a Throughput Collector?
What is a Throughput Collector? The throughput collector is a generational collector similar to the default collector but with multiple threads used to do the minor collection. The major collections are essentially the same as with the default collector. By default on a host with N CPUs, the through...
2013-03-25, 2056👍, 0💬

What are new language features in J2SE 5.0?
What are new language features in J2SE 5.0? Generally: 1. generics 2. static imports 3. annotations 4. typesafe enums 5. enhanced for loop 6. autoboxing/unboxing 7. varargs 8. covariant return types
2013-03-07, 2056👍, 0💬

How to open and read data files with Perl
How to open and read data files with Perl Data files are opened in Perl using the open() function. When you open a data file, all you have to do is specify (a) a file handle and (b) the name of the file you want to read from. As an example, suppose you need to read some data from a file named "check...
2013-08-22, 2053👍, 0💬

What are different methods of session maintenance in ASP.NET?
What are different methods of session maintenance in ASP.NET? 3 types: In-process storage. Session State Service. Microsoft SQL Server. In-Process Storage The default location for session state storage is in the ASP.NET process itself. Session State Service As an alternative to using in-process stor...
2014-01-01, 2051👍, 0💬

How do I sort a hash by the hash key?
How do I sort a hash by the hash key? Suppose we have a class of five students. Their names are kim, al, rocky, chrisy, and jane. Here's a test program that prints the contents of the grades hash, sorted by student name: #!/usr/bin/perl -w %grades = ( kim => 96, al => 63, rocky => 87, chrisy => 96, ...
2013-09-03, 2050👍, 0💬

For which statements does it make sense to use a label?
For which statements does it make sense to use a label? The only statements for which it makes sense to use a label are those statements that can enclose a break or continue statement.
2012-11-27, 2048👍, 0💬

How do I send e-mail from a Perl/CGI program on a Unix system?
How do I send e-mail from a Perl/CGI program on a Unix system? Sending e-mail from a Perl/CGI program on a Unix computer system is usually pretty simple. Most Perl programs directly invoke the Unix sendmail program. We'll go through a quick example here. Assuming that you've already have e-mail info...
2013-09-04, 2047👍, 0💬

What is strong-typing versus weak-typing? Which is preferred? Why?
What is strong-typing versus weak-typing? Which is preferred? Why? Strong type is checking the types of variables as soon as possible, usually at compile time. While weak typing is delaying checking the types of the system as late as possible, usually to run-time. Which is preferred depends on what ...
2014-02-17, 2046👍, 0💬

Assuming $_ contains HTML, which of the following substitutions will remove all tags in it?
Assuming $_ contains HTML, which of the following substitutions will remove all tags in it? 1.s/&lt;.*&gt;//g; 2.s/&lt;.*?&gt;//gs; 3.s/&lt;\/?[A-Z]\w*(?:\s+[ A-Z]\w*(?:\s*=\s*(?:(["']).*?\ 1|[\w-.]+))?)*\s*&gt;//gsi x;You can't do that. If it weren't for HTML comments, imprope...
2013-08-29, 2044👍, 0💬

What are scalar data and scalar variables?
What are scalar data and scalar variables? Perl has a flexible concept of data types. Scalar means a single thing, like a number or string. So the Java concept of int, float, double and string equals to Perl's scalar in concept and the numbers and strings are exchangeable. Scalar variable is a Perl ...
2013-08-28, 2041👍, 0💬

Why aren't Perl's patterns regular expressions?
Why aren't Perl's patterns regular expressions? Because Perl patterns have backreferences. A regular expression by definition must be able to determine the next state in the finite automaton without requiring any extra memory to keep around previous state. A pattern /([ab]+)c\1/ requires the state m...
2013-09-02, 2040👍, 0💬

What is the difference between ADO and ADO.NET?
What is the difference between ADO and ADO.NET? ADO uses Recordsets and cursors to access and modify data. Because of its inherent design, Recordset can impact performance on the server side by tying up valuable resources. In addition, COM marshalling - an expensive data conversion process - is need...
2013-10-07, 2037👍, 0💬

What is Viewstate?
What is Viewstate? A server control’s view state is the accumulation of all its property values. In order to preserve these values across HTTP requests, ASP.NET server controls use this property, which is an instance of the StateBag class, to store the property values.
2014-01-01, 2029👍, 0💬

ASP.NET interview questions only (2)
ASP.NET interview questions only (2) 1. What is a static class? 2. What is static member? 3. What is static function? 4. What is static constructor? 5. How can we inherit a static variable? 6. How can we inherit a static member? 7. Can we use a static function with a non-static variable? 8. How can ...
2014-01-08, 2027👍, 0💬

Can an unreachable object become reachable again?
Can an unreachable object become reachable again? An unreachable object may become reachable again. This can happen when the object's finalize() method is invoked and the object performs an operation which causes it to become accessible to reachable objects.
2013-01-28, 2027👍, 0💬

Which of the following DOT.NET tools manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRL
Which of the following DOT.NET tools manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRLs)? Which of the following DOT.NET tools manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRLs)? * sn.exe * certnet.exe * certmgr.exe...
2014-03-17, 2023👍, 0💬

How does a try statement determine which catch clause should be used to handle an exception?
How does a try statement determine which catch clause should be used to handle an exception? When an exception is thrown within the body of a try statement, the catch clauses of the try statement are examined in the order in which they appear. The first catch clause that is capable of handling the e...
2013-06-15, 2021👍, 0💬

Explain the new Features of JDBC 2.0 Core API?
Explain the new Features of JDBC 2.0 Core API? The JDBC 2.0 API includes the complete JDBC API, which includes both core and Optional Package API, and provides inductrial-strength database computing capabilities. New Features in JDBC 2.0 Core API: Scrollable result sets- using new methods in the Res...
2013-02-26, 2021👍, 0💬

<< < 144 145 146 147 148 149 150 151 152 153 154 > >>   Sort: Date