abstract means what in Java?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: abstract means what in Java?

  1. #1
    Join Date
    Dec 2006
    Posts
    30

    abstract means what in Java?

    Friends, what is the meaning of abstract in Java?

    We see abstract class, abstract method...

    What is the word mean abstract?

  2. #2
    Join Date
    Jan 2007
    Posts
    2

    Abstract means Semi or unfinished

    HI

    We usually write Abstract classes when we want to give some default functinality to all the other classes who are of our type(sub-classes of this abs class) and in most of the cases we write abstract methods in the Abs class to force the concrete class to override the method and provide a business logic for the same.

    Let me know if this does not make sense for you.

    www.j2eequestions.com

  3. #3
    Join Date
    Dec 2004
    Location
    San Bernardino County, California
    Posts
    1,468
    Abstract means that the method is declared but not defined. A descendant of the parent class with an abstract method must implement that method to make it work.

  4. #4
    Join Date
    Dec 2006
    Posts
    30
    Thanks "nspils" and "jasprit" for posting your answers.

Similar Threads

  1. Java book
    By Lou in forum Java
    Replies: 9
    Last Post: 09-19-2007, 06:58 AM
  2. Java vs. .Net. A questionnaire
    By Basil in forum .NET
    Replies: 1
    Last Post: 05-13-2005, 07:46 AM
  3. learning c# very confusing.
    By Mike Tsakiris in forum .NET
    Replies: 11
    Last Post: 10-04-2002, 06:32 PM
  4. Re: VB vs. Visual Age for Java
    By JJ in forum Enterprise
    Replies: 1
    Last Post: 07-06-2000, 05:50 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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center