Abstrct class has some method who has no body so we cant create object for that whaere as fianal class is lik constant class we cant change the class ie we cant extend the final class so if we have to make anny class as immutable then declare class as ...
By extending the abstract class by other class and creating object to that class ...
What is the difference between Abstract Factory Pattern and factory Pattern? When would you use each of them?
Abstract factory pattern is typically used for giving implementation to specification (eg., jdbc, servlet specifications etc...). Factory pattern is used when you want to defer object creation to later stages (when concrete implementation of that class/interface ...
In which scenerio we use interfaces,abstract and concrete class?Which one is better and appropriate?Differentiate these three terms in depth.
yes,its possible.We can write an abstract class without any concrete methods,There is no restriction that the abstract class contains minimum of one abstract method.Eventhough without any abstract method we can write the abstract class. ...
1. what is throwable and where should we use this? 2. How can you increase the JVM memory? 3. Abstract class is a partially implemented class so, How can we call an abstract method without creating... 4. How to Stop the creation of objects(For ex:For Player class of Cricket Team,stop instance creation after... 5. Can HashMap store null values?If yes, how many and in which one? 6. What is the Difference between Runtime and RunTime java API's? 7. How we upload and download files in JSP and Servlets
What is the difference between OOP (Object Oriented Programming) and POP (Procedure Oriented Programming).Example of Polymorphism.Why paging, segmentation needed.What is ADT (Abstract Data Type)?
Entity bean is an abstract class and its local and home interfaces also extends an abstact class. So how can we instantiate home or local interface?
yes, the abstract classes can have constructors.But they can be run only by the subclasses of the abstract class ...
Abstract classes can be overridden by virtual methods (true, false)
It is designed to act as derived class. the class , which contain more virtual function is called an abstract class. and it cannot be create as an object, and it is similar to Interface ...
View page << Previous 1 2 3 4 [5] 6 7 8 9 10 Next >>

Go Top