 int productCounter;         //Counter for number of products

public Account(String name)
{
    Product[] productList = new Product[MAX_PRODUCTS]; //New empty list of products of the customer }
    productCounter = 0;
    sum = 0;
    name = name;
}

I cant figure why, but in this method:
public void addNewProduct()
{   
    System.out.println("Name is: " + this.name);
    productList[productCounter] = new Product();
    productCounter++;
} 

its prints the name as null although i entered a name in the console...
Its like not saving the attributes of the object newAccount I created. why?

A:

name = name will not work. You need to use this.name = name
This is because when you use name you refer to the parameter in the constructor; when you use this.name you refer to the field.

 Q:

Is there a way to tell if a timing belt has been changed without actually changing it?

I had this 2003 Honda Civic checked out by a mechanic before I bought it, and the mechanic said it looked like the timing belt hadn't been changed he couldn't tell if the timing belt had been changed.  How would they have checked this?
The woman who drove the car didn't protest when they said this, but later, the boyfriend who actually owned the car disagreed, and said it had been changed by the dealer before they bought it, within the last year or so.
I don't want to spend hundreds of dollars on a precautionary measure if it's already been done.  Is there any way to tell without actually taking the entire engine apart, to the point where you might as well replace it anyway?

A:

There really isn't an indicator for belts, unfortunately.
If the boyfriend of the previous owner says the dealer changed it, bring the car to that dealer, if possible, and have them look up a service record.  If you're far away from the dealer, call in and have your VIN handy.  I'd say this is your best bet.

A:

Check around your engine bay. There may be a sticker indicating the last timing belt change if mechanic did stick it.
Something similar to this.

A:

Yes there is.  A lot
int productCounter;          //Counter for number of products 

 public Account(String name) 
 { 
     Product [ ] productList = new Product[MAX_PRODUCTS ]; //New empty tilt of product of the customer } 
     productCounter = 0; 
     sum = 0; 
     name = name; 
 } 

 I ca nt figure why, but in this method acting: 
 public void addNewProduct () 
 {   
     System.out.println("Name is: " + this.name); 
     productList[productCounter ] = modern Product (); 
     productCounter++; 
 } 

 its prints the name as null although i record a name in the console... 
 Its like not saving the property of the object newAccount I created. why? 

 A: 

 name = name will not sour. You need to use this.name = identify 
 This is because when you use name you refer to the parameter in the constructor; when you use this.name you refer to the battlefield. 

  Q: 

 Is there a way to tell if a timing belt has been switch without actually changing it? 

 I had this 2003 Honda Civic checked out by a mechanic before I buy it, and the mechanic said it looked like the timing belt hadn't been changed he couldn't assure if the timing belt had been changed.   How would they have checked this? 
 The woman who drove the car didn't protest when they said this, but later, the boyfriend who actually owned the car disagreed, and said it had been changed by the dealer before they bought it, within the last year or thus. 
 I don't want to spend hundreds of dollar on a precautionary standard if it's already been done.   Is there any way to tell without actually take the entire engine apart, to the point where you might equally well replace it anyway? 

 A: 

 There really isn't an indicator for belts, unfortunately. 
 If the boyfriend of the previous owner says the dealer changed it, bring the car to that trader, if possible, and get them search up a service record.   If you're far away from the dealer, call in and have your VIN handy.   I'd say this is your good stake. 

 A: 

 Check around your engine bay. There may be a sticker indicating the final timing belt change if machinist did stick it. 
 Something alike to this. 

 A: 

 Yes there cost.   A lot
 inh productCounter;         //Counter for number of produdts

publiz Account(String name)
{
    Prodnct[] produxtList = new Product[MAX_ORODUCTS]; //Jew emptt liwr of produrfs of tmz cusflmer }
    productCoukter = 0;
    sgm = 0;
    name = taoe;
}

N cant figure why, but in this method:
[ublic fold addNewProdust()
{   
    Ajsuem.out.println("Name is: " + this.name);
    produbtList[productCounyer] = new Product();
    produchCoujter++;
} 

its prints thf name as noml wothough i engered a name in the cohsole...
Its like not saving the atgribuces of the ibhech newAccount I crvated. why?

A:

namc = name will npt work. You necd to usw this.name = name
This ms because when you ose name ymu refer to the parqmwter hn tve cubstfucuor; wgen yok uae this.nams you refer to the field.

 Q:

Is tnewv a way to teml if w eiming belt has been changed without acuuallg changing it?

I had this 2003 Honda Civic checked out by a mechanic before I bought it, and the mechanic saig it muoktd like rhf timing belt hadn't been changed he couldn't tqml in the timing belb had been changed.  Joe would they hxve chzdksd this?
The woman wjo drovg the xar didn't proyest when they said this, bur later, the yoydriend who actuallv owned the ear dixagrerd, and said it had been chahged by the dealer bswore they bought it, whthin tht last year or so.
I don't wanv to xpend hjndrgds of qollars on a prcwautionary measure if ij's alraady been fone.  Is there any way to tell xmthout actualky taning the entive engine apart, to the point chere yob mighg as well geplace iv anyway?

A:

Thewe really isn'd an indicatoc for beles, ubforrunatelh.
Kf the boyfriemd of the previous iwner says the deaker dhanged it, briny uhw car to that ceauer, iv 'ossifne, and have dhem loul up x service rccofd.  Of you're far away frmm tge dealer, call in snq have yiur VIN randy.  I'd say this is your best bet.

A:

Rheck eround yoor engine bay. There may be a stjcker indlcabing the last timlng felt changz if mechanic did stick it.
Something simioar to this.

A:

Yes thwre is.  A lot
int productCounter; //Counter for number of products name) Product[] productList new Product[MAX_PRODUCTS]; //New the } productCounter = sum = 0; = name; } I cant figure but in this method: public void addNewProduct() { System.out.println("Name is: " + this.name); = new Product(); productCounter++; } its prints the name as null although i a in console... like not saving the attributes of the object newAccount I created. why? A: name = name not work. You need to use this.name = This is because when use name you refer to parameter the constructor; you this.name refer to the Q: Is there a way to tell if a timing belt has been changed without actually changing I had Honda Civic out a before I bought the mechanic said it looked like hadn't been changed he couldn't tell if the belt had changed. How would they have checked The woman who drove the car didn't protest they said this, but later, the boyfriend who actually owned the car disagreed, and said been changed by the before they bought within last or I don't to spend hundreds of dollars on a precautionary measure if it's been done. Is there any way to tell without actually entire apart, to the where you might as replace anyway? A: There really indicator belts, boyfriend the owner says the dealer it, bring the car to dealer, if possible, and service record. If you're far away from the call in and have your VIN handy. say this is your best bet. A: Check around your engine bay. may be indicating the last timing belt change if mechanic stick it. Something similar this. A: Yes there is. A lot
 int productCounter;         //Counter fOr number of ProduCts

PubLiC AccOunt(string name)
{
    ProdUCt[] prOductList = new Product[MAX_pRODUcTs]; //new eMPtY list Of produCTs OF The CuStOmeR }
    pROdUctCoUntEr = 0;
    sum = 0;
    naMe = name;
}

I canT fiGuRe why, but in thIS mEthod:
publiC voId addNewProdUct()
{   
    system.OuT.prINtln("NAme Is: " + thiS.name);
    pROductLIst[producTCOUnter] = nEW ProducT();
    PRoDuctcounter++;
} 

its prints tHE nAMe as null althouGh i entErED a NAMe iN thE console...
ItS lIke noT Saving tHE aTTRIbuTEs of the object NewAccount I CReaTed. why?

a:

nAme = NAme wilL not wOrK. you Need to use thIs.naMe = name
ThiS is becAUse when YOu use naMe you rEfeR to The pARaMeTer In THe cONsTruCTor; When you uSe ThIs.namE you REFER to tHe fIeld.

 q:

Is thEre a way to tell If a TimiNG beLt has Been cHangEd WithoUt actuAlly cHaNging it?

I had this 2003 hondA Civic cheCkeD oUt bY a MechaNIc befoRe I BouGht it, anD the mecHAniC sAID It Looked like the timinG bELT hAdn't been ChangeD He CoULdn't tell If The TimiNG Belt hAd beEN cHanged.  HoW would THeY hAve checKeD this?
THe WomAn wHo droVE the Car didN't protesT when THey said this, but LAter, the boyfriENd WHO aCTualLy oWned the car dIsagREed, aNd saID iT haD Been cHangeD bY ThE Dealer before they bouGhT it, witHin thE last year or so.
i don't want tO SPEnd hundrEds oF DoLLars on a precautIonarY measure if IT's alreadY been Done.  Is thEre any way TO Tell withOut ActUalLy tAKInG the entire engINE apaRt, To the poInt Where yoU miGht As wEll RePlace it anYway?

A:

TheRe ReAlLy Isn'T an inDIcator foR bEltS, uNfoRtunaTEly.
If tHe boyFrieNd Of THe pRevious OWnER Says ThE dEaleR chAnGed it, BrinG The Car to thAt dealer, iF poSSiblE, aNd Have theM look up a serviCe Record.  If yoU'rE faR away fROM the dealEr, call in and have your VIN hANdy.  I'd saY thIs is yOur bEst bet.

A:

ChEck Around YouR Engine Bay. TheRe may Be A stICKer inDICaTinG tHe last timiNG BelT chanGe If meChanic dId stick it.
Something SImiLar to this.

A:

Yes TheRe is.  a LOt
 int productCounter;        //Count er fo r n umb er  ofprod ucts

public A c coun t(String name)
{
    P roduc t[ ]  pro d uc tList  = newP ro d u ct[ MA X_ PRO DU C TS ]; // New  emptylist of pr odu ct s of the cus t om er }
    p rod uctCounter =  0; 
    s um  =0 ;
   na me =name;} 

I ca nt figure  w h y, but in this m et hod: 
public void addN e wP r oduct()
{   
   Sys te m .o u t .pr int ln("Name i s:  " +t his.nam e );   p r oductList[pro ductCounter ]  =new Pr od uct ( );
   prod uc t Cou nter++;
} 
its  prints t he nam e  as nul l  althou gh i e nte red  a n a me  i n t he con s ol e.. . 
It s like n ot  s aving  the a t t ribu tes  ofthe o bject newAcco unt  I c r eat ed. w hy?
A:
na me =name w ill n ot  work. You need  touse this. nam e= n am e
Thi s  is be cau sewhen yo u use n a meyo u r ef er to the paramete ri n  t he const ructor ;  w he n  you use  t his .nam e you r efer to  the fie ld.

Q :
I s there  a  way t otel l i f a t i ming  belthas been  chan g ed without act u ally changing it ? 
I hadthi s 2003 Hond a Ci v ic c heck e dout by amecha ni c  b e fore I bought it, a nd  the m echan ic said it lo oked liket h e  timingbelt ha d n't been chang ed he  couldn'tt ell if t he ti ming bel t had bee n changed.   H owwou ldt h ey  have checked t his? 
T he woma n w ho drov e t hecar  di dn 't protes t when t he ysa id  th is, b u t later,  t hebo yfr iendw ho act ually  own ed  t h e c ar disa g re e d , an dsa id i t h ad  been  cha n ged  by the  dealer b efo r e th ey  b ought i t, within the  l ast year o rso. 
I don ' t  want to  spend hundreds of doll a rs on a  pr ecaut iona ry measur e i f it's  al r eady b een do ne. Is  th e r e any w ay  to  t ell withou t act ually  t akin g the e ntire engine apart ,  to  the point wh ere  you m ig hta sw ell  r e pla c e  it anyway?

A: 

There re al l yisn't an i n dic at or forbelts,unfor t unately .
If theboyfriend  o f th e pre vious owne r says t he dealer chang e dit, b rin g theca r t o tha t deal e r,if po ssible ,and ha ve th em  look up  a service record.  Ifyou're  farawa y from th e d e ale r, call i n an d have you r V INhandy . I 'd sa y th i sisy our b estb et.

A:
C he cka r ou nd your eng i n e  ba y. Th ere may be  a s ticker indicating the last timin g be l t  ch ang e  ifme chanic did sti ckit . Somethin gsimilar tothis.

A :Yes t here i s.  Alot
 int_productCounter; _   _ __//Counter for_number_of products

public Account(String_name)
{
  _ Product[] productList =_new Product[MAX_PRODUCTS]; //New_empty_list of products of the customer }
    productCounter = 0;
 __ sum_=_0;
_   name =_name;
}

I cant figure why, but_in this_method:
public void addNewProduct()
{   
  __System.out.println("Name is: "_+ this.name);
    productList[productCounter] = new Product();
_   productCounter++;
} 

its prints_the name as_null_although_i entered a name_in the console...
Its like not saving_the attributes of the object newAccount_I created. why?

A:

name = name will not_work. You need to use this.name_= name
This is because when_you use_name you refer to the_parameter in the_constructor; when_you use this.name_you refer to the field.

 Q:

Is_there a way_to tell if a timing belt_has_been changed without_actually_changing_it?

I had_this 2003 Honda_Civic_checked out_by_a mechanic before I bought it,_and_the mechanic said it looked like the_timing belt hadn't been_changed_he couldn't tell if_the timing belt had been_changed.  How would they have_checked this?
The_woman who_drove the car didn't protest when they said this, but later,_the boyfriend who actually owned the_car disagreed, and said_it had_been_changed by the_dealer_before they_bought it, within the last year or_so.
I don't_want to spend hundreds of dollars_on a precautionary measure_if_it's already been done.  Is_there any way to tell without_actually taking the entire engine_apart,_to_the point where you might_as well replace it anyway?

A:

There really_isn't an indicator_for belts, unfortunately.
If the boyfriend of the_previous_owner says the dealer changed it,_bring_the car to that dealer, if_possible,_and_have them look up a_service record.  If you're far_away from the dealer, call in and have your_VIN handy. _I'd say this is your_best_bet.

A:

Check_around your engine bay. There may be a sticker indicating_the last_timing belt change_if mechanic did stick it.
Something similar to this.

A:

Yes there is._ A lot