Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[TUT]GLOBAL VARIABLES FOR JAVA!!![TUT]
#5
(03-29-2010, 12:08 PM)Qkyrie Wrote: It's even a better idea to work with non-static private fields and public getters/setters. This way, the getters and setters provide an easy interface/facade and can help at sanitizing input.

I agree, and these should be used. However in some simple scenarios they are unneeded.
My SMF Modifications:
http://anthony.vibrantvps.com/smf
Reply


Messages In This Thread
RE: [TUT]GLOBAL VARIABLES FOR JAVA!!![TUT] - by Project Evolution - 03-29-2010, 01:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  why java haphazard 8 1,756 12-12-2011, 03:23 AM
Last Post: RDCA
  Need Java help from java expert. Blazin 2 2,092 09-07-2011, 02:43 PM
Last Post: AceInfinity
  [TuT] Getting started with Java Programming! BlackSpider 53 16,244 08-03-2011, 03:05 AM
Last Post: Deceive
  Tabbed Pane Tut Buhrock 1 998 12-23-2010, 09:45 PM
Last Post: Bourd
  Java help php 1 1,032 04-06-2010, 06:41 AM
Last Post: php

Forum Jump:


Users browsing this thread: 3 Guest(s)