<< < 1 2 3 4 5 6 7 8 9 10 > >>   Sort: Date

Troubleshooting NullPointerException
What is NullPointerException and how to handle it? When an object is not initialized, the default value is null. When the following things happen, the NullPointerException is thrown: Calling the instance method of a null object. Accessing or modifying the field of a null object. Taking the length of...
2007-03-03, 7804👍, 0💬

printf() Function
What is the output of printf("%d")? 1. When we write printf("%d",x); this means compiler will print the value of x. But as here, there is nothing after "%d", so compiler will show in output window gurbage value. 2. When we use %d the compiler internally uses it to access the argument in the stack (a...
2007-02-26, 7787👍, 0💬

calloc() and malloc() Functions
What is the difference between "calloc(...)" and "malloc(...)"? 1. calloc(...) allocates a block of memory for an array of elements of a certain size. By default the block is initialized to 0. The total number of memory allocated will be (number_of_elements * size). malloc(...) takes in only a singl...
2007-02-26, 7786👍, 0💬

Explain simple Walk through of XmlReader
Explain simple Walk through of XmlReader ? In this section we will do a simple walkthrough of how to use the “XmlReader” class. Sample for the same is available in both languages (C# and VB.NET) which you can find in “WindowsApplicationXMLVBNET” and “WindowsApplicationCSharp” folders. Task is to l...
2007-10-31, 7784👍, 0💬

How do we assign page specific attributes
How do we assign page specific attributes ? Page attributes are specified using the @Page directive.
2018-01-23, 7776👍, 1💬

💬 2018-01-23 parvash: love

What is Shell scripting
What is Shell scripting A shell script is a script written for the shell, or command line interpreter, of an operating system. It is often considered a simple domain-specific programming language. Typical operations performed by shell scripts include file manipulation, program execution, and printin...
2008-05-30, 7774👍, 0💬

How do you hide Public .NET Classes and other public members from COM?
Managed Code and Unmanaged Code related ASP.NET - How do you hide Public .NET Classes and other public members from COM? In some cases, you might want to hide selected .NET classes from COM but keep them public for use from other .NET assemblies. The ComVisible attribute allows you to select which p...
2009-04-09, 7749👍, 0💬

Once I have developed the COM wrapper do I have to still register the
Once I have developed the COM wrapper do I have to still register the COM in registry? Yes.
2007-10-22, 7743👍, 0💬

Math
Rachel opened her math book and found that the sum of the facing pages was 245. What pages did she open to? a. 122 and 123 b. 242 and 243 c. 16 and 17 d. 24 and 25 a.
2006-09-01, 7738👍, 0💬

How can you avoid deadlock in threading?
.NET INTERVIEW QUESTIONS - How can you avoid deadlock in threading? A good and careful planning can avoid deadlocks.There are so many ways Microsoft has provided by which you can reduce deadlocks example Monitor, Interlocked classes, Wait handles, Event raising from one thread to other thread, Threa...
2010-01-05, 7735👍, 0💬

How To Define a Sub Function
How To Define a Sub Function? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions A sub function is a function defined and used inside another procedure or function. You need to define a sub function in the declaration part of the enclosing procedure or function. Sub function defini...
2007-04-25, 7729👍, 0💬

What Is Thread
What is thread? A thread is an independent path of execution in a system.
2007-03-03, 7722👍, 0💬

What is the difference between RegisterClientScriptBlock and RegisterStartupScript?
What is the difference between RegisterClientScriptBlock and RegisterStartupScript? RegisterClientScriptBlock emits the JavaScript just after the opening &lt;form> tag. RegisterStartupScript emits the JavaScript at the bottom of the ASP.NET page just before the closing &lt;/form> tag.
2008-08-05, 7721👍, 0💬

How To View All Columns in an Existing Table
How To View All Columns in an Existing Table? - Oracle DBA FAQ - Managing Oracle Database Tables If you have an existing table and want to know how many columns are in the table and how they are defined, you can use the system view USER_TAB_COLUMNS as shown in the following tutorial exercise: SQL> C...
2007-05-03, 7713👍, 0💬

How will you freeze the requirement in this case?
How will you freeze the requirement in this case? What will be your requirement satisfaction criteria? To get the answer, ask this question to stakeholders: How much response time is ok for you? If they say, we will accept the response if it’s within 2 seconds, then this is your requirement measure....
2009-03-23, 7703👍, 0💬

What is effort variance
What is effort variance? Effort Variance = (Actual effort – Estimated Effort) / Estimated Effort.
2007-10-30, 7669👍, 0💬

Bitwise Operations
Which bit wise operator is suitable for checking whether a particular bit is on or off? The bitwise AND operator. Here is an example: enum { KBit1 = 0x00000001 KBit2 = 0x00000010, KBit3 = 0x00000100, ... }; if ( some_int & KBit24 ) printf("Bit number 24 is ON\n"); else printf("Bit number 24 is O...
2007-02-26, 7669👍, 0💬

What exactly happens when ASPX page is requested from Browser
What exactly happens when ASPX page is requested from Browser? Note: - Here the interviewer is expecting complete flow of how an ASPX page is processed with respect to IIS and ASP.NET engine. Following are the steps which occur when we request a ASPX page :- 1. The browser sends the request to the w...
2007-10-24, 7660👍, 0💬

What is AL.EXE and RESGEN.EXE
What is AL.EXE and RESGEN.EXE? In the previous question you have seen how we can use resource files to store data according to the localized languages. But when you actually go for deployment you will not like to also install the “resx” or “txt” files. It’s definitely not a good deployment practic...
2007-11-01, 7650👍, 0💬

What are the metrics followed in project management
What metrics will you look at in order to see the project is moving successfully? Most metric sets deal with a variation of these attributes and are chosen to help project managers gain insight into their product (size, software quality, rework), process (rework, software quality) and project (effor...
2007-10-30, 7639👍, 0💬

What Does a HTML Document Look Like
What Does a HTML Document Look Like? A HTML document is a normal text file with predefined tags mixed with the normal contents of the document. Tags are enclosed in pairs of angle brackets: "&lt" and "&gt;". Below is how a simple HTML document will look like if you open it in a text editor: ...
2007-03-03, 7627👍, 0💬

What are some advantages and disadvantages of Java Sockets
What are some advantages and disadvantages of Java Sockets? Advantages of Java Sockets: Sockets are flexible and sufficient. Efficient socket based programming can be easily implemented for general communications. Sockets cause low network traffic. Unlike HTML forms and CGI scripts that generate and...
2007-11-13, 7619👍, 0💬

What is Multi-tasking ?
.NET INTERVIEW QUESTIONS - What is Multi-tasking ? It’s a feature of modern operating systems with which we can run multiple programs at same time example Word, Excel etc.
2009-10-27, 7584👍, 0💬

Can Static Variables Be Declared in Header Files
Can static variables be declared in a header file? You can't declare a static variable without defining it as well (this is because the storage class modifiers static and extern are mutually exclusive). A static variable can be defined in a header file, but this would cause each source file that inc...
2007-02-26, 7581👍, 0💬

<< < 1 2 3 4 5 6 7 8 9 10 > >>   Sort: Date