Results 1 to 3 of 3
  1. #1
    Akirien is offline Member
    Join Date
    Feb 2012
    Posts
    18
    Rep Power
    0

    Default Can Anyone Explain To Me This Code?

    Can Anyone Explain To Me This Code?-capture.jpg

    Hello there.. Can anyone explain to me why these variables were declared like this?

    Java Code:
    //--Start variable the contains forms
    	FrmCustomer  FormCustomer;
    	FrmSupplier  FormSupplier;
    	FrmSalesRep  FormSalesRep;
    	FrmWarehouse FormWarehouse;
    	FrmProduct   FormProduct;
    
    	FrmInvoice   FormInvoice;

  2. #2
    Keith Jackson is offline Member
    Join Date
    Sep 2012
    Location
    Maryland, USA
    Posts
    14
    Rep Power
    0

    Default 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.

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default Re: Can Anyone Explain To Me This Code?

    Quote Originally Posted by Akirien View Post

    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.

Similar Threads

  1. Can someone explain this code?
    By Akirien in forum New To Java
    Replies: 3
    Last Post: 02-26-2012, 10:52 PM
  2. Anyone could explain the Code.....
    By seongchog in forum New To Java
    Replies: 2
    Last Post: 09-22-2011, 07:38 PM
  3. Please explain how this bit of code works.
    By Allspark in forum New To Java
    Replies: 4
    Last Post: 09-03-2010, 03:56 AM
  4. Please explain these 2 lines of code to me..
    By murphaph in forum New To Java
    Replies: 10
    Last Post: 01-19-2010, 02:11 PM
  5. need to explain this code
    By reached in forum New To Java
    Replies: 3
    Last Post: 12-03-2007, 10:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •