LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 07-24-2004, 01:34 PM   #1
Mohsen
Member
 
Registered: Feb 2003
Location: Iran
Distribution: Solaris 10
Posts: 201

Rep: Reputation: 30
interface vs abstract (Java)


Hi there,
I can not get the difference between keywords `interface' and `abstract' in a class definition in Java! Both can be inherited (implemented) and both can be instantiated directly by implementing abstract methods.

Last edited by Mohsen; 07-24-2004 at 01:39 PM.
 
Old 07-24-2004, 01:44 PM   #2
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
I haven't used Java much, but a google search turned up a good explanation of the differences.
 
Old 07-24-2004, 02:06 PM   #3
Mohsen
Member
 
Registered: Feb 2003
Location: Iran
Distribution: Solaris 10
Posts: 201

Original Poster
Rep: Reputation: 30
Thanks a lot =).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tightvnc java swing interface linuxmandrake Linux - Software 0 11-30-2005 05:28 AM
c++ Abstract Base Classes exodist Programming 1 06-11-2005 06:05 PM
Abstract Control Model juris Linux - Networking 0 10-26-2004 03:45 AM
design webstorage user interface with java? ksgill Programming 0 07-07-2004 09:49 PM
java -- how do i close the screen by interactive interface?? answer soon plz Laptop2250 Programming 5 10-27-2003 03:03 PM


All times are GMT -5. The time now is 04:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration