<< < 134 135 136 137 138 139 140 141 142 143 144 > >>   Sort: Date

What are the two kinds of comments in JSP and what's the difference between them.
What are the two kinds of comments in JSP and what's the difference between them. &lt%-- JSP Comment --%&gt &lt!-- HTML Comment --&gt
2013-07-05, 2306👍, 0💬

What class allows you to read objects directly from a stream?
What class allows you to read objects directly from a stream? The ObjectInputStream class supports the reading of objects from input streams.
2012-12-25, 2306👍, 0💬

What is Data Access Object pattern?
What is Data Access Object pattern? The Data Access Object (or DAO) pattern: separates a data resource's client interface from its data access mechanisms adapts a specific data resource's access API to a generic client interface The DAO pattern allows data access mechanisms to change independently o...
2013-03-15, 2305👍, 0💬

What modifiers may be used with an interface declaration?
What modifiers may be used with an interface declaration? An interface may be declared as public or abstract.
2012-12-04, 2305👍, 0💬

What modifiers are allowed for methods in an Interface?
What modifiers are allowed for methods in an Interface? Only public and abstract modifiers are allowed for methods in interfaces.
2013-02-06, 2304👍, 0💬

Is a class a subclass of itself?
Is a class a subclass of itself? A class is a subclass of itself.
2012-12-05, 2304👍, 0💬

Why do we need wrapper classes?
Why do we need wrapper classes? It is sometimes easier to deal with primitives as objects. Moreover most of the collection classes store objects and not primitive data types. And also the wrapper classes provide many utility methods also. Because of these resons we need wrapper classes. And since we...
2013-05-27, 2302👍, 0💬

What is Perl one-liner?
What is Perl one-liner? There are two ways a Perl script can be run: --from a command line, called one-liner, that means you type and execute immediately on the command line. You'll need the -e option to start like "C:\ %gt perl -e "print "Hello";". One-liner doesn't mean one Perl statement. One-lin...
2013-08-26, 2301👍, 0💬

What is the Locale class?
What is the Locale class? The Locale class is used to tailor program output to the conventions of a particular geographic, political, or cultural region.
2013-06-11, 2301👍, 0💬

Explain the Polymorphism principle
Explain the Polymorphism principle The meaning of Polymorphism is something like one name many forms. Polymorphism enables one entity to be used as as general category for different types of actions. The specific action is determined by the exact nature of the situation. The concept of polymorphism ...
2013-03-01, 2301👍, 0💬

Can you retrieve complex data types like structs from the PInvoke calls?
Can you retrieve complex data types like structs from the PInvoke calls? Yes, just make sure you re-declare that struct, so that managed code knows what to do with it.
2014-12-08, 2300👍, 0💬

What is the % operator?
What is the % operator? It is referred to as the modulo or remainder operator. It returns the remainder of dividing the first operand by the second operand.
2012-11-09, 2300👍, 0💬

How are Observer and Observable used?
How are Observer and Observable used? Objects that subclass the Observable class maintain a list of observers. When an Observable object is updated it invokes the update() method of each of its observers to notify the observers that it has changed state. The Observer interface is implemented by obje...
2013-06-05, 2298👍, 0💬

What is the ResourceBundle class?
What is the ResourceBundle class? The ResourceBundle class is used to store locale-specific resources that can be loaded by a program to tailor the program's appearance to the particular locale in which it is being run.
2013-01-18, 2298👍, 0💬

Which class is extended by all other classes?
Which class is extended by all other classes? The Object class is extended by all other classes.
2012-11-12, 2298👍, 0💬

In which package are most of the AWT events that support the event-delegation model defined?
In which package are most of the AWT events that support the event-delegation model defined? Most of the AWT-related events of the event-delegation model are defined in the java.awt.event package. The AWTEvent class is defined in the java.awt package.
2012-10-16, 2298👍, 0💬

Can a private method of a superclass be declared within a subclass?
Can a private method of a superclass be declared within a subclass? Sure. A private field or method or inner class belongs to its declared class and hides from its subclasses. There is no way for private stuff to have a runtime overloading or overriding (polymorphism) features.
2012-08-31, 2298👍, 0💬

What is the Collection interface?
What is the Collection interface? The Collection interface provides support for the implementation of a mathematical bag - an unordered collection of objects that may contain duplicates.
2012-12-10, 2297👍, 0💬

What is Incremental Low Pause Collector?
What is Incremental Low Pause Collector? The incremental low pause collector is a generational collector similar to the default collector. The minor collections are done with the same young generation collector as the default collector. Do not use either -XX:+UseParallelGC or -XX:+UseParNewGC with t...
2013-03-27, 2296👍, 0💬

What is covariant return type?
What is covariant return type? A covariant return type lets you override a superclass method with a return type that subtypes the superclass method's return type. So we can use covariant return types to minimize upcasting and downcasting. class Parent { Parent foo () { System.out.println ("Parent fo...
2013-03-07, 2296👍, 0💬

What are synchronized methods and synchronized statements?
What are synchronized methods and synchronized statements? Synchronized methods are methods that are used to control access to an object. A thread only executes a synchronized method after it has acquired the lock for the method's object or class. Synchronized statements are similar to synchronized ...
2013-06-13, 2295👍, 0💬

If I want an object of my class to be thrown as an exception object, what should I do?
If I want an object of my class to be thrown as an exception object, what should I do? The class should extend from Exception class. Or you can extend your class from some more precise exception type also.
2013-05-30, 2295👍, 0💬

What is the purpose of the System class?
What is the purpose of the System class? The purpose of the System class is to provide access to system resources.
2012-11-27, 2293👍, 0💬

What is the purpose of the Runtime class?
What is the purpose of the Runtime class? The purpose of the Runtime class is to provide access to the Java runtime system.
2012-10-22, 2292👍, 0💬

<< < 134 135 136 137 138 139 140 141 142 143 144 > >>   Sort: Date