GeekInterview.com
  I am new, Sign me up!
 

Abstract Questions and Answers


 Sponsored Links

 
 Abstract Questions and Answers - Page 8
Sorting Options :  

Interfaces are used when we have to develop distributed applications or when we need to implement multiple inheritence. While abstract classes will be used when we need to develop a standalone application. ...
Category: Java   Tags : Abstract

An abstract class may not be declared as final. 
A compile-time error occurs if a class is declared both final and abstract, because the implementation of such a class could never be completed ...
Category: Java   Tags : Abstract

No,when you declare a abstract method in a class then you have to declare that class as abstract,so that the sub class of that class can implement it.But when you declare a class as final that means you cann't extend it further,so if you now declare a ...
Category: Technical   Tags : Abstract

You can extend only one class.Abstract classes support single inheritance. ...
Category: Java   Tags : Abstract

Interface must have an abstract method. Interface have no access modifers. Interface used to define the method and members.  Abstract class is class. it has access modifiers. Abstract class cannot be instantiated but it can be ...
Category: Technical   Tags : Abstract

You are creating a web application for an online product ordering system. You will be using data from several different databases and to reduce the load on the databases you have decided to use connection pooling. You have a ConnectionPool class and you want one pool for each database however you will have to connect to a variable number of databases. What pattern should you use?A Abstract factory B Factory Method C Builder D Prototype E Singleton
Answer: E 
Category: 310-051   Tags : Abstract

Inteface is concidered to be a best practice to use then Abstract(Template) Desing Pattern.Inderface is more flexible is also forcess to maintain same code for Similar Objects but Abstract objects do the same. Abstract objects are based on Inheritance. ...
Read Answers (1) | Asked by : enjoy
Category: Core Java   Tags : Abstract

Does an abstract class can contain sealed methods? Can we create an abstract class without abstract methods?
Read Answers (1) | Asked by : Vijay
Category: C#   Tags : Abstract

        Abstract class contains both concrete methods and also abstract methods,whereas interface contains only abstract methods ...
Category: Java   Tags : Abstract

Interface - has only declarations, no objects are created.abstract class - sub class must extend this, objets can be created ...
Category: Java   Tags : Abstract

View page << Previous 4 5 6 7 [8] 9 10 11 12 13 Next  >>

Ask A Question
Go Top
 Sponsored Links

 
Expert Members
# User Name Count
1mathan_vel 408
2sudhakar2068 390
3srinivasulub1981 380
4sahu 323
5jainbrijesh 283
6sampra 278
7samiksc 231
8Sujatars 206
9Beena 194
10G.D.S.Prasad 191
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape