As part of your new application you need to create a custom class loader so that you can implement with custom security. So you need to create objects without knowing the class of the objects or how to create them. What pattern should you use for this?A Abstract factory B Factory Method C Builder D Prototype E Singleton
Answer: D
Which two method declarations are valid for an interface? (Choose two) A. public double methoda(); B. static void methoda(double d1); C. public final double methoda(); D. abstract public void methoda(); E. protected void methoda(double d1);
Answer: A, D
Its actual implementation is done by the Container. ...
I want to maintain our LAN through JAVA can U help me ? ...
This is what I feel about Interface, Actually Interface is very good in Designing the Class Structure. Whenever user want to use or implement a class and u want it to be implemented in a manner, or the class should have at least these methods U can specify ...
When To use Interface: An interface allows somebody to start from scratch to implement your interface(or) implement your interface in some other code whose original or primary purpose was quite different from your interface. To them, your interface is ...
Class used for the multiple inheritance in JAVA?
A. anonymous class
B. inner class
C. abstract class
D. none
Abstract Class:- it has abstract methods and non-abstract methods. Abstract Methods:- this methods has no body. these final and variables of these methods are static, final and protected. ...
I studied that "Abstract class means ,it doesn't maintain the complete information about the particular class". Is it right? Justify?
Abstract class A{void display(){}}class B extends A{void display(){}psvm(String args[]){how can i instantiate the overridden method in class A}}
View page << Previous 2 3 4 5 [6] 7 8 9 10 11 Next >>

Go Top