dcsimg
Diff b/w Variable and instance variable
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   VIKRAM_G
Posted On:   Friday, April 28, 2006 09:52 AM

Diff b/w Variable and instance variable?

Re: Diff b/w Variable and instance variable

Posted By:   WarnerJan_Veldhuis  
Posted On:   Friday, April 28, 2006 10:03 AM

Typing in full words and sentences makes your question sooo much easier to read. It also encourages people more to answer it, when they see that the poster has made some effort to make his problem clear.




public class Knob {
private int blah; //instance variable
private static int foo; //class variable

public void someKnobAction() {
int bar; //local variable
}

}
About | Sitemap | Contact