,Java, C ,C++, ASP, ASP.net C# ,Struts ,Questions & Answer, Struts2, Ajax, Hibernate, Swing ,JSP , Servlet, J2EE ,Core Java ,Stping, VC++,
var txt=\"Hello World!\";
In the Above Java Script we use length property to find out the numbers of characters associated with srting.
More interview questions and answers
What is the Map interface ?
What is the Properties class?
Which implementation of the List interface provides for the fastest insertion of a new element into the middle of the list?
How can we use hashset in collection interface?
What are differences between Enumeration, ArrayList, Hashtable and Collections and Collection?
What is difference between array & arraylist?
Can you limit the initial capacity of vector in java?
What method should the key class of Hashmap override?
What is the difference between Enumeration and Iterator?
Explain Java Collections Framework?
Explain Enumeration Interface.
What is the difference between Enumeration and Iterator interface?
What are the two types of Set implementations available in the Collections Framework?
What is the difference between HashSet and TreeSet?
What are the two types of List implementations available in the Collections Framework?
What is the difference between ArrayList and LinkedList?
What collection will you use to implement a queue?
Explain Map Interface.
What are the two types of Map implementations available in the Collections Framework?
What is the difference between HashMap and TreeMap?
Explain the functionality of Vector Class?
What does the following statement convey?
Vector vt = new Vector(3, 10);
How do we store a primitive data type within a Vector or other collections class?
What is the difference between Vector and ArrayList?
How do I make an array larger?
Which is faster, synchronizing a HashMap or using a Hashtable for thread-safe access?
In which package would you find the interfaces amd claases defined in the Java Collection Framework
What method in the System class allows you to copy eleemnts from one array to another?
When using the System.arraycopy() method,What exception is thrown if the destination array is smaller than the souce array?
What is the use of GregorianCalendar class?
What is the use of SimpleTimeZone class?
What is the use of ResourceBundle class
Which java.util classes and interfaces support event handling?
What is the purpose of the enableEvents() method?
What is the difference between yielding and sleeping?
When a thread blocks on I/O, what state does it enter?
When a thread is created and started, what is its initial state?
What invokes a thread�s run() method?
What invokes a thread�=s run() method?
What method is invoked to cause an object to begin executing as a separate thread?
What is the purpose of the wait(), notify(), and notifyAll() methods?
What happens when a thread cannot acquire a lock on an object
How does multithreading take place on a computer with a single CPU?
What happens when you invoke a threads interrupt method while it is sleeping or waiting?
What state is a thread in when it is executing?
What are three ways in which a thread can enter the waiting state?
What method must be implemented by all threads?
What are the two basic ways in which classes that can be run as threads may be defined?
How can you store international / Unicode characters into a cookie?
How to use test(),exec() and compile() methods of RegExp Object?
Why we use NAN function?
What is the Keyword?
Which characters may be used as the second character of an identifier,but not as the first character of an identifier?
How does Java handle integer overflows and underflows?
What modifiers may be used with an inner class that is a member of an outer class?
What is the difference between the >> and >>> operators?
Which method of the Component class is used to set the position and size of a component?
How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters?
What is the negative infinity?
What\'s Ad Hoc Testing ?
Whats the Accessibility Testing ?
What\'s the Alpha Testing ?
What\'s the Beta Testing ?
What is Component Testing ?
What\'s Compatibility Testing ?
What is Concurrency Testing ?
What is Conformance Testing ?
What is Context Driven Testing ?
What is Data Driven Testing ?
What is Conversion Testing ?
What is Dependency Testing ?
What is Depth Testing
What is Dynamic Testing ?
What is Endurance Testing ?
What is End-to-End testing ?
What is Exhaustive Testing ?
What is Gorilla Testing ?
What is Installation Testing ?
What is Localization Testing ?
What is Loop Testing ?
What is Mutation Testing ?
What is Monkey Testing ?
What is Positive Testing ?
R4R provides free online tutolrails ,examples for Freshers and experts .We cover core java, tutorials, spring, Hibernate, python, struts, struts 2,c language, spring boot,PHP,MYSQL,C#,ASP.NET,WPF,WCF,Photoshop , JSP, programming, example, Interview questions and answer