GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

Abstract Questions and Answers


 Sponsored Links

 
 Abstract Questions and Answers - Page 8
Sorting Options :  

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

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

Hi,  No,we can't  declare both final and abstract for the same method,B'coz if you declare method as abstract means we are declaring a method not actual a concrete method  so we need to override in the subclass. If you  declare the same method as ...
Category: Java   Tags : Abstract

If there is a functionality (like employee) that is common across specific classes, then specific classes (Hourly Employee) can be inherited from the common class. What if there is no common functionality, but there is a common contract that classes have ...
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
1sudhakar2068 390
2sahu 324
3jainbrijesh 282
4sampra 279
5samiksc 231
6Sujatars 206
7Beena 194
8sivanesh.a 189
9sithusithu 161
10sujatham 142
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  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape