Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 9th, 2012  |  syntax: None  |  size: 0.25 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to Compare classes having arrayList which in turn have class object which too have arrayList
  2. class A
  3. {
  4.  
  5.        B b;
  6.  
  7.        ArrayList aobj;
  8. }
  9.  
  10. class B
  11. {
  12.  
  13.       ArrayList bobj;
  14. }
  15.        
  16. A Object1=new A();
  17.  
  18. A Object2=new A();
  19.  
  20. Object1 == Object2 ?