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

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, 1991👍, 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, 1990👍, 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, 1989👍, 0💬

How do I do &lt; fill-in-the-blank &gt; for each element in a hash?
How do I do &lt; fill-in-the-blank &gt; for each element in a hash? Here's a simple technique to process each element in a hash: #!/usr/bin/perl -w %days = ( 'Sun' =>'Sunday', 'Mon' => 'Monday', 'Tue' => 'Tuesday', 'Wed' => 'Wednesday', 'Thu' => 'Thursday', 'Fri' => 'Friday', 'Sat' => 'Satur...
2013-09-03, 1988👍, 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, 1985👍, 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, 1984👍, 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, 1978👍, 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, 1977👍, 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, 1977👍, 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, 1976👍, 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, 1974👍, 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, 1974👍, 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, 1969👍, 0💬

Interview question - Order Process Automation
An ecommerce transaction starts on an instance of SAP Hybris at the frontend (browser-based). The order then flows through a bespoke SQL Server based Data Hub, into MS Dynamics 365 (F&amp;O), where the order orchestrated. The flow also includes several batch jobs between the order placement and ...
2020-10-17, 1968👍, 1💬

💬 2020-10-17 FYIcenter.com: If you have the budget, replace all 3 systems with a single end-to-end, fully automated, eCommerce solution. If you want to keep...

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, 1968👍, 0💬

How are this () and super () used with constructors?
How are this () and super () used with constructors? this() is used to invoke a constructor of the same class. super() is used to invoke a superclass constructor.
2012-12-26, 1967👍, 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, 1963👍, 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, 1961👍, 0💬

Bitwise AND operator in C# is ...
Bitwise AND operator in C# is ... Bitwise AND operator in C# is * &amp; * &amp;&amp; * AND * XAND Answer1: &amp;&amp; Answer2: &amp;
2014-03-21, 1952👍, 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, 1950👍, 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, 1949👍, 0💬

If we develop an application that must accommodate multiple security levels through secure login and ASP.NET web application is
If we develop an application that must accommodate multiple security levels through secure login and ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users? If we develop an application t...
2014-08-27, 1946👍, 0💬

What are the advantages and drawbacks of using ADO.NET?
What are the advantages and drawbacks of using ADO.NET? Pros ==== ADO.NET is rich with plenty of features that are bound to impress even the most skeptical of programmers. If this weren’t the case, Microsoft wouldn’t even be able to get anyone to use the Beta. What we’ve done here is come ...
2013-12-13, 1946👍, 0💬

How do SQL Server 2000 and XML linked? What is SQL Server agent?
How do SQL Server 2000 and XML linked? What is SQL Server agent? Every Request or the Response to or from SQL Server is converted into XML format. Its purpose is to ease the implementation of tasks for the DBA, with its full-function scheduling engine, which allows you to schedule your own jobs and ...
2014-11-17, 1944👍, 0💬

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