Results 1 to 6 of 6
- 07-07-2010, 07:35 PM #1
Member
- Join Date
- Apr 2010
- Posts
- 28
- Rep Power
- 0
- 07-07-2010, 07:38 PM #2
If doubleMember is an instance variable.Java Code:Ex1 x1 = new Ex1(); x1.doubleMember = 2d;
Last edited by PhHein; 07-07-2010 at 07:41 PM.
Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
The Ubiquitous Newbie Tips
- 07-07-2010, 08:03 PM #3
What does that mean? I'm not familiar with the global keyword.It's global
- 07-08-2010, 09:09 AM #4
Moderator
- Join Date
- Apr 2009
- Posts
- 10,476
- Rep Power
- 16
Quite.
There isn't really such a thing in Java.
The closest is a "public static" attribute.
- 07-08-2010, 10:35 AM #5
Member
- Join Date
- Feb 2010
- Posts
- 80
- Rep Power
- 0
when he says global, he refers to a class variable..
[why are you annoyed with my sig?]
- 07-08-2010, 10:50 AM #6
Moderator
- Join Date
- Apr 2009
- Posts
- 10,476
- Rep Power
- 16
Similar Threads
-
Accessing non-static public variables from another class
By ribbs2521 in forum New To JavaReplies: 4Last Post: 10-22-2009, 05:45 PM -
Private or Protected access for super class variables
By Madushan in forum New To JavaReplies: 3Last Post: 03-14-2009, 07:22 AM -
global variables
By blackstormattack in forum New To JavaReplies: 1Last Post: 03-08-2009, 07:19 PM -
why we use public access modifier?
By vichet in forum New To JavaReplies: 1Last Post: 04-04-2008, 07:04 AM -
Declaring global variables
By eva in forum New To JavaReplies: 3Last Post: 12-23-2007, 12:11 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks