Important : Please do NOT wait for job alert emails. Sometimes, we may NOT be able to send emails due to server problems. So always directly visit www.ChetanaSforum.com to view all jobs DAILY, so that you will NOT miss important Walk-In. We suggest you to LIKE OUR FACEBOOK PAGE to keep track of new jobs through Facebook.
Home    Register    Facebook    Post Jobs for Free    Jobs By Location    Exclusive Off-Campus    2013 Batch   Job Fairs    JavaKen.com    TestingKen.com
Infosys, TCS, Yahoo & Amazon are hiring. Register Now ! Submit Resume to 45,000 Recruiters Apply for 52,000 jobs in India
IPB

Welcome Guest ( Log In | Register )




Tags
This content has not been tagged yet
 
Reply to this topicStart new topic
> diff bw abstract and interface
srirag
post Aug 4 2010, 05:43 PM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 22-June 10
Member No.: 347,924





Apply for 52,000+ jobs in India ! Post Your Resume !
Infosys, TCS, Yahoo & Amazon are hiring. Register Now !
If you like this post, please share it to help others.


hi friends.i saw a java question in an interview questons collection.that is what s the difference between abstract class and an interface in java.I am a beginer.so i dono the answer if any one knows plz explain.

Submit Latest Resume Now !



Go to the top of the page
 
+Quote Post
Vadivel S
post Aug 4 2010, 08:21 PM
Post #2


Newbie
*

Group: Members
Posts: 1
Joined: 28-February 10
Member No.: 284,435




QUOTE (srirag @ Aug 4 2010, 05:43 PM) *
hi friends.i saw a java question in an interview questons collection.that is what s the difference between abstract class and an interface in java.I am a beginer.so i dono the answer if any one knows plz explain.


Abstract class can have abstract methods as well as concrete methods.

Interface must only have abstract methods

Go to the top of the page
 
+Quote Post
Aniruddha Panada...
post May 12 2011, 09:11 PM
Post #3


Newbie
*

Group: Members
Posts: 1
Joined: 18-April 11
Member No.: 614,084




interface:-
an Interface is a pure abstract class, the methods in an interface are by default abstract,and the variable are final variable i.e constants,we can implement any no of interface

abstract class :
abstract class can have abstract methods as well as non abstract methods

Go to the top of the page
 
+Quote Post
Alice Coope
post May 18 2011, 01:23 PM
Post #4


Advanced Member
***

Group: Members
Posts: 45
Joined: 3-November 10
Member No.: 463,857




QUOTE (srirag @ Aug 4 2010, 06:43 PM) *
hi friends.i saw a java question in an interview questons collection.that is what s the difference between abstract class and an interface in java.I am a beginer.so i dono the answer if any one knows plz explain.


I just came across this link in Google. Hope it might help you in this regard.



--------------------
Go to the top of the page
 
+Quote Post
Mr. Sumit kumar
post Mar 28 2012, 12:18 PM
Post #5


Member
**

Group: Members
Posts: 11
Joined: 30-December 10
From: Jaipur
Member No.: 510,009




The basic difference between java abstract class and interface is that the methods of java interface are utterly abstract which don’t have implementations. Java abstract contains the instance methods which implements a default behavior.

____________
Asset Finance

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st May 2013 - 09:30 PM