1 Attachment(s)
Can Anyone Explain To Me This Code?
Attachment 4200
Hello there.. Can anyone explain to me why these variables were declared like this?
Code:
//--Start variable the contains forms
FrmCustomer FormCustomer;
FrmSupplier FormSupplier;
FrmSalesRep FormSalesRep;
FrmWarehouse FormWarehouse;
FrmProduct FormProduct;
FrmInvoice FormInvoice;
Re: Can Anyone Explain To Me This Code?
Without seeing any other code, all I can assume is that the names in the right hand column are being declared as variables of the types in the left hand column. An example is that FormCustomer is a variable of type FrmCustomer.
Re: Can Anyone Explain To Me This Code?
Quote:
Originally Posted by
Akirien
Hello there.. Can anyone explain to me why these variables were declared like this?
...
I certainly can't explain it as the variable names go against commonly accepted Java conventions, namely that the first letter for variable names be lower-case.