Home | Contact Us | Log In | Help
  ASP.Net & C#
  Perl and PHP
  Java Scripts
  C and C++
  Ajax Tutorials
  J2ee, J2Me, Java
  Python & Ruby Rail
  Crystal Report
  Cold Fusion & CFML
  Photoshop/Web Designing
  Tools & Utilities
  Sql Server
  Domain Name Registration
  Remotely Hosting
  Web/Server Application
  Hotel Marketing
  Internet and Law
   Search Engine Optimization/SEO
Interview Questions

Previous < 1 2 3 4 5 6 7 > Next

  What is the quickest searching method to use?

 A binary search, such as bsearch() performs, is much faster than a linear search. A hashing algorithm can provide even faster searching. One particularly interesting and fast method for searching is to keep the data in a "digital trie." A digital trie offers the prospect of being able to search for an item in essentially a constant amount of time, independent of how many items are in the data set.
A digital trie combines aspects of binary searching, radix searching, and hashing. The term "digital trie" refers to the data structure used to hold the items to be searched. It is a multilevel data structure that branches N ways at each level.

  What happens when a thread cannot acquire a lock on an object?

 If a thread attempts to execute a synchronized method or synchronized statement and is unable to acquire an object's lock, it enters the waiting state until the lock becomes available.

 What is an object's lock and which object's have locks

 An object's lock is a mechanism that is used by multiple threads to obtain synchronizedaccess to the object.A thread may execute a synchronized method of an object only after it has acquired theobject's lock. Allobjects and classes have locks. A class's lock is acquired on the class's Class object.

  What restrictions are placed on method overriding?

 Overridden methods must have the same name, argument list, and return type. Theoverriding method maynot limit the access of the method it overrides. The overriding method may not throwany exceptions thatmay not be thrown by the overridden method.

  What are synchronized methods and synchronized statements?

 Synchronized methods are methods that are used to control access to an object. A threadonly executes asynchronized method after it has acquired the lock for the method's object or class.Synchronizedstatements are similar to synchronized methods. A synchronized statement can only beexecuted after athread has acquired the lock for the object or class referenced in the synchronizedstatement.

  What is the difference between overloading and overriding?

Overloading: The same method name with a different signature (generally input argument list) written in the same class.
Overriding: The identical method signature from a parent (super) class written in a subclass and modification of the method body occurs.

  How can you create an XML file?

 You can also create an XML file through the Java XML APIs and some simple Java.io File writer methods. Use the appendChild() method in the Node class for creating the tree structure of an XML. Use the FileWriter methods to save it into a file.

  Other than XML/XSLT, what are other web services?

 Other than XML, SOAP, WSDL and UDDI are websevices.
The term Web services describes a standardized way of integrating Web-based applications using the XML, SOAP, WSDL and UDDI open standards over an Internet protocol backbone. XML is used to tag the data, SOAP is used to transfer the data, WSDL is used for describing the services available and UDDI is used for listing what services are available.


Previous < 1 2 3 4 5 6 7 > Next

  Copyright 2000-2006 © SoloScript.com, All rights reserved.