Comment by Noname on 2005-12-05 01:26:40 What is an abstract method ? Abstract method is a method with no implementation What is an abstract class? Any class that has an abstract method in it or that does not provide an implementation for any abstract methods declared in its superclasses or implemented interfaces must be declared as an abstract class. * An abstract class is not required to have an abstract method in it. Q Abstract class vs interfaces If an abstract class contains only abstract method declarations, it should be implemented as an interface instead.
|
Comment by Noname on 2005-12-05 01:46:13 An interface is a named collection of method definitions (without implementations). Interface vs Abstract Class An interface cannot implement any methods - abstract class can implement methods. A class can implement many interfaces but can have only one superclass. Interface can extend other interfaces |
Comment by Noname on 2006-02-17 05:11:59 What does abstract mean? [B]null[/B] |
Comment by Noname on 2006-02-01 22:27:24 J2EE transactiom follow the Distributed Transaction Processing specs , where we have 3 basic components. Application programs(AP), Resouce Manager(RM) and Transaction Manager(TM) so a TM interacts with the RM using a XA interface where as TM interacts with AP using a TX interface. RM can be like a JDBC driver. |
Comment by Noname on 2006-02-01 01:07:33 Here's some questions I actually use to screen java applicants. These may seem simple, but you would be surprised how many experienced programmers cannot answer these. The candidate will not get hired if they cannot give a good answer for all of these: What is the difference between POST and GET? What is Request, Session and Application scope? What problems might you encounter if you have a class level variable in a servlet? What is an interface? What does the "protected" keyword do? When writing code to access the database, where is the best place to write your query? In the JSP, the servlet or somewhere else? Name some common design patterns.
|
Comment by Noname on 2006-01-24 00:26:44 i would like to know What is a TX and XA Interface :? |
Comment by Noname on 2006-01-25 04:08:57 Question: What is transient variable? |
Comment by Noname on 2006-01-20 08:15:13 A Good Question that i was asked. What is a TX and XA Interface |
Comment by Guest on 2006-02-24 22:06:06 heard so |
Comment by Guest on 2006-03-04 12:27:37 I found a blog which describes what these interfaces mean http://javahub.blogspot.com/ |