Results 1 to 4 of 4
  1. #1
    MuslimCoder is offline Senior Member
    Join Date
    Jan 2009
    Posts
    119
    Rep Power
    0

    Question [SOLVED] Interfaces in Java

    Hello,

    I would like to know more about the interfaces in java, I have read up a bit about interfaces from the "Really Big Index", I think I have still have some question's unanswered, particularly as to HOW it would be useful in a company that wants to do separate parts of a software then bring it together?

    Thanks

  2. #2
    Join Date
    Mar 2009
    Location
    Chennai
    Posts
    5
    Rep Power
    0

    Default

    see this site, you can learn more about interfaces. Let me know whether it's useful.

    ride2java.com

  3. #3
    angryboy's Avatar
    angryboy is offline Senior Member
    Join Date
    Jan 2009
    Posts
    742
    Rep Power
    6

    Default

    HOW it would be useful in a company that wants to do separate parts of a software then bring it together?
    i feel a need to quote paul on this:
    Quote Originally Posted by paul pasciak View Post
    Many things that are in Java do not make a lot of sense
    if you have learned to program in another language already.

    Java is quite advanced, and its compiler oversees a program
    in the style of a project manager.

    View the abstract class this way:

    You are working with a team of programmers. Certain
    specifications on the project are handed down to the
    programmers, who study them, then work to make the
    project come together.

    Rather than have a project engineer bring everyone
    together to 'discuss' changes to the project, or
    maybe send out a memo, you are given "Abstract classes"
    of which you are to extend, or expect to find your
    fellow programmers extending into objects that can be
    instanciated.

    If you show ignorance of this policy, expect to become
    unemployed shortly.

    As a solitary programmer working on your own home brewed
    project, you probably won't decide that an Abstract class
    is needed. Its purpose is to get a group of programmers
    'on the same page' so to speak, to get everyone conforming
    to the dictates from above.
    see this page for more detail: [SOLVED] Abstraction: Pillar of OOP?

    edit:
    err... when reading, replace abstract classes w/ interfaces.
    Last edited by angryboy; 03-06-2009 at 06:00 PM.
    USE CODE TAGS--> [CODE]...[/CODE]
    Get NotePad++ (free)

  4. #4
    MuslimCoder is offline Senior Member
    Join Date
    Jan 2009
    Posts
    119
    Rep Power
    0

    Default

    Thanks Angry boy, I think I get it now. Reading this makes me understand why our tutor gives us lab exercises which are basically to extend a class to create a new one with some specified fn.

    arunarivanandam, thank you for your help also. The website looks simple and is compressed, sometimes that's the best way to get an idea of a concept.

Similar Threads

  1. Vlc player interfaces in java
    By sankar1227 in forum Networking
    Replies: 1
    Last Post: 08-06-2011, 08:39 PM
  2. [SOLVED] Why interfaces
    By logicbug in forum New To Java
    Replies: 5
    Last Post: 01-09-2009, 08:43 PM
  3. interfaces..
    By sireesha in forum New To Java
    Replies: 5
    Last Post: 01-16-2008, 05:52 PM
  4. Interfaces
    By imran_khan in forum New To Java
    Replies: 5
    Last Post: 07-30-2007, 08:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •