Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-14-2008, 08:34 AM
Member
 
Join Date: Feb 2008
Posts: 2
james is on a distinguished road
Want Some Expert Advice? JAX India 2008 Might Be the Right Place
Following the success of JAX India 2007, enterprises will be more keen on the upcoming event JAX India 2008, to be held in Bangalore, from 8-11th of April.

JAX India 2007 featured some of the big names like Craig McClanahan of Sun Microsystems, Neal Ford (a senior application architect at ThoughtWorks), Malcolm Groves of CodeGear and many more, covering topics from JAVA enterprise to Open Source, Software testing and much more.

JAX India 2008 promises to throw light on Enterprise Java, SOA, Web Services, Enterprise Architectures, SOA Technologies, SOA Governance, Eclipse, Enterprise Collaboration and many more. This conference offers its participants a three-fold conference experience: JAX India 2008, Enterprise Architecture India 2008 and Eclipse Forum India 2008.

Things to look out for in JAX India 2008 are:
" Selection of industry experts from North America, Europe and Asia Pacific.
" Over 60 sessions, including focused full-day/half-day power workshops.
" Real-world business advice from Enterprise IT decision makers.
" An opportunity to attend three conferences for the price of one.
" Gather first-hand information about new vendor products and services at the joint expo.
************************************************** *********************
Register Before Feb 15th. Save upto 21%. Visit JAX India 2008 - Conference for Enterprise Java, SOA, Spring, Web Services, Ajax, Agile and more. 08-11 April 2008, Bangalore, India for details
************************************************** *********************
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-18-2008, 01:25 PM
Member
 
Join Date: Feb 2008
Posts: 2
srinath is on a distinguished road
hi all.

i am newilly joined please help me
what is the main different's for Intrface and Abstract Class
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 03-03-2008, 09:05 PM
Eyass_Loves_Java's Avatar
Member
 
Join Date: Mar 2008
Location: Syria
Posts: 2
Eyass_Loves_Java is on a distinguished road
Send a message via Yahoo to Eyass_Loves_Java
difference between the interface and the Abstract class
well....

FIRST:- the interface is 100% abstract and that means that all its methods are abstract and they are need to be overridden (all of them)
this an example of an interface:

public interface Eyass {

public abstract void setAge();
public void setHobby();
abstract void setFoto();
void setLocation();
}

in the interface all methods are public and abstract wether you declare that or not ok i mean you can cancel the declaration (public abstract).

in addition: the interface is implemented (i mean it's not inherited like the class) for exapmle :say i have this class Person

we say :

Class person implements Eyass {

// some code .....
}

SECOND:- Abstract Classes:

they are classes but with the declaration abstract which means that
we cant take an instance of the abstract class and the only way to deal with the abstract class is to inherit it by a subclass(child)

if we declare Eyass as an abstract class like:

public abstract class Eyass{

public abstract void setAge();
public void setHobby() { //some code};
abstract void setFoto();
void setLocation() { }
}
you have to know that the abstract class can have abstract methods and non-abstract methods and only the abstract methods must be overridden while the non-abstract method is free to be overridden or not.

and we dont forget the to use the abstract class we say:

class Person extends Eyass {

//some code ...

}

i hope it's useful to you and if i made any mistake i hope some developer correct it ... thanks
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advice on best method for.... shaungoater Java 2D 1 06-23-2008 08:36 PM
I need some advice and tips about my code... sukatoa Advanced Java 3 06-23-2008 08:29 PM
The Frink Language 2008-04-10 Java Tip Java Announcements 0 04-15-2008 07:49 PM
The Frink Language 2008-03-29 Java Tip Java Announcements 0 04-05-2008 05:29 PM
Prerequisite advice needed Hatrabbit New To Java 2 11-30-2007 05:38 PM


All times are GMT +3. The time now is 08:47 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org