What are the types of refrences available in java. How they work

Showing Answers 1 - 3 of 3 Answers

ak40732

  • Mar 25th, 2006
 

Threre are two types of References available in Java.   

1.Interface references.

2.Class references.

Interface references:The interface references are used to implement runtime polymorphism.

These references can be used to defer the implementation details until the runtime.This avoids inmemory overload and increases system performace.

Class Refereces:relationships between the objects of different classes can be implemented by using object references.An object of one type can refer to the object of another type by keeping the reference                                         

  Was this answer useful?  Yes

Akshay

  • Apr 19th, 2006
 

hi,

I apprciate ur answer,if u know jsp then tell me in jsp if there is include directive element then why they have provided include action element.

                                                              bye.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions