Helloworld !! Welcome to Java Forum,in here,you will get alot of advices and knowledge if you always share you doubts.
Here are the rules i learnt here....
Hehehe thats my funny code,but its...
Type: Posts; User: frankycool
Helloworld !! Welcome to Java Forum,in here,you will get alot of advices and knowledge if you always share you doubts.
Here are the rules i learnt here....
Hehehe thats my funny code,but its...
Deleted since my college will scan using turnitin.com
Deleted since my college will scan using turnitin.com
Thanks,will check
Even when i initialize Carname and run on netbeans debugger,Carname still appears as null
Thanks will do as explained
Thanks,i tried your method and now i can specify which object i want to get in the array like
int price=Cars.get(0).getprice();
But now i want to search all the indexes and get the index...
HI i am using this syntax to store arraylist to inventory.dat file.When i store, it give a scattered output on the .dat file like this.....
¬í sr Carsguimainexecution.SaleinfoÕE£ñWfö L...
Deleted since my college will scan using turnitin.com
I have an arraylist As such :-
products.add( new CarsSubProduct( "FordMustang",1,1000,10000 ) );
FordMustang is Car name
1 is Car number
1000 is total number of cars in stock
10000 is price...
presently i can can store the objects(Movies) in a .dat file but my only weakness is,i don't know how to store the array-list to Database.Please any help will be appreciated.