<< < 20 21 22 23 24 25 26 27 28 29 30 > >>   Sort: Date

Differences between Interfaces and Abstract Classes
What's the difference between an interface and an abstract class? An abstract class may contain code in method bodies, which is not allowed in an interface. With abstract classes, you have to inherit your class from it and Java does not allow multiple inheritance. On the other hand, you can implemen...
2007-03-03, 5887👍, 0💬

What Is the MIME Type Definition for Atom Files
What Is the MIME Type Definition for Atom Files? - RSS FAQs - Atom Feed Introduction and File Generation Atom files have its own MIME type definition as: MIME type: application/atom+xml File extension: .atom, .xml Type of format: Syndication Extended from: XML
2007-05-12, 5880👍, 0💬

How will you do code reviews
How will you do code reviews ? The way in which code reviews are done change from person to person and also company to company. But the normally when a project is started project people define their architecture, coding standards etc in their design document. So before starting the code review you w...
2007-10-30, 5876👍, 0💬

What is nested Classes
What is nested Classes ? Nested classes are classes within classes. In sample below “ClsNested” class has a “ChildNested” class nested inside it. Public Class ClsNested Public Class ChildNested Public Sub ShowMessage() MessageBox.Show(“Hi this is nested class”) End Sub End Class End Class This is ...
2007-10-23, 5876👍, 0💬

What is an XMLReader Class
What is an XMLReader Class? It is an abstract class available from System.XML namespace. XML reader works on a read-only stream browsing from one node to other in a forward direction. It maintains only a pointer to the current node but has no idea of the previous and the next node. You can not modif...
2007-10-31, 5874👍, 0💬

What is JSP
What is a JSP and what is it used for? Java Server Pages (JSP) is a platform independent presentation layer technology that comes with SUN's J2EE platform. JSPs are normal HTML pages with Java code pieces embedded in them. JSP pages are saved to *.jsp files. A JSP compiler is used in the background ...
2007-04-03, 5871👍, 0💬

What can JavaScript programs do?
What can JavaScript programs do? Generation of HTML pages on-the-fly without accessing the Web server. The user can be given control over the browser like User input validation Simple computations can be performed on the client's machine The user's browser, OS, screen size, etc. can be detected Date...
2008-05-27, 5870👍, 0💬

How can we force the connection object to close after my datareader is closed
How can we force the connection object to close after my datareader is closed ? Command method Executereader takes a parameter called as CommandBehavior where in we can specify saying close connection automatically after the Datareader is close. pobjDataReader = pobjCommand.ExecuteReader(Comm andBeha...
2007-10-24, 5870👍, 0💬

What are events
What are events ? As compared to delegates events works with source and listener methodology. So listeners who are interested in receiving some events they subscribe to the source. Once this subscription is done the source raises events to its entire listener when needed. One source can have multipl...
2007-10-23, 5870👍, 0💬

What is the difference between Stored Procedure (SP) and User Defined Function (UDF)?
What is the difference between Stored Procedure (SP) and User Defined Function (UDF)? Following are some major differences between a stored procedure and user defined functions: UDF can be executed using the “SELECT” clause while SP’s can not be. UDF can not be used in XML FOR clause but SP’s can b...
2007-10-25, 5869👍, 0💬

How can we force all the validation control to run
How can we force all the validation control to run ? Page.Validate
2007-10-24, 5868👍, 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...
2008-05-20, 5863👍, 0💬

What are design patterns
What are design patterns ? Design patterns are recurring solution to recurring problems in software architecture. (A) Can you list down all patterns and their classification ? Note :- This is advanced question because anyone who asks to list down all patterns can only be crazy for what he is asking....
2007-10-24, 5862👍, 0💬

How does authorization work in ASP.NET
How does authorization work in ASP.NET? ASP.NET impersonation is controlled by entries in the applications web.config file. The default setting is “no impersonation”. You can explicitly specify that ASP.NET shouldn’t use impersonation by including the following code in the file &lt;identity imp...
2007-10-24, 5860👍, 0💬

What Is PEAR
What Is PEAR? PEAR is the next revolution in PHP. This repository is bringing higher level programming to PHP. PEAR is a framework and distribution system for reusable PHP components. It eases installation by bringing an automated wizard, and packing the strength and experience of PHP users into a n...
2007-02-27, 5859👍, 0💬

How To Quote Element Attribute Values Properly
How To Quote Element Attribute Values Properly? - XHTML Tutorials - Introduction To Tag and Attribute Syntax You know that attribute values must be quoted. But how to attribute values properly? Here are some basic rules you should remember: An attribute value must be quoted. An attribute value can b...
2007-05-12, 5857👍, 0💬

Two or More Actions in the Same Form
Can I have two or more actions in the same form? No. A form must have exactly one action. However, the server-side (e.g., CGI) program that processes your form submissions can perform any number of tasks (e.g., updating a database, sending email, logging a transaction) in response to a single form s...
2007-03-03, 5856👍, 0💬

How To Add a New User Account
How To Add a New User Account? - MySQL FAQs - Managing User Accounts and Access Privileges If you want to add a new user account, you can connect to the server as "root" and use the "CREATE USER ..." command. The command syntax for create a new user account with a specified user name and password is...
2007-05-10, 5850👍, 0💬

What are different types of JIT ?
.NET INTERVIEW QUESTIONS - What are different types of JIT ? JIT compiler is a part of the runtime execution environment. In Microsoft .NET there are three types of JIT compilers: * Pre-JIT :- Pre-JIT compiles complete source code into native code in a single compilation cycle. This is done at the t...
2010-04-13, 5849👍, 0💬

What is the use of DISPOSE method
What is the use of DISPOSE method? Dispose method belongs to IDisposable interface. We had seen in the previous section how bad it can be to override the finalize method for writing the cleaning of unmanaged resources. So if any object wants to release its unmanaged code best is to implement IDispos...
2007-10-23, 5849👍, 0💬

Defining an Interface
How to define an Interface? Java Interface defines methods but does not implement them. Interface can include constants. A class that implements an interface is required to implement all the methods defined in the interface. Here is an example of interface definition: public interface MyInterface { ...
2007-03-03, 5849👍, 0💬

How to turn on Perl warnings? Why is that important
How to turn on Perl warnings? Why is that important? Perl is very forgiving of strange and sometimes wrong code, which can mean hours spent searching for bugs and weird results. Turning on warnings helps uncover common mistakes and strange places and save a lot of debugging time in the long run. The...
2007-11-19, 5842👍, 0💬

Explain in short all types of diagrams in UML
How many types of diagrams are there in UML ? There are nine types of diagrams in UML : Use case diagram: They describe "WHAT" of a system rather than "HOW" the system does it.They are used to identify the primary elements and processes that form the system. The primary elements are termed as "actor...
2007-10-26, 5840👍, 0💬

What are benefits and limitations of using Cookies?
.NET INTERVIEW QUESTIONS - What are benefits and limitations of using Cookies? Following are benefits of using cookies for state management :- * No server resources are required as they are stored in client. * They are light weight and simple to use Following are limitation of using cookies :- * Mos...
2009-07-21, 5838👍, 0💬

<< < 20 21 22 23 24 25 26 27 28 29 30 > >>   Sort: Date