Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between static and non-static
variables?

Answer Posted / javeed

* Non-static which ia(instence variable) can be accessed
only inside a non-sattic method.

* A static variable can be axxessed in both static and non-
static methods.

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is overriding possible in java?

1005


What is the java reflection api? Why it’s so important to have?

1024


Can we use switch statement with strings?

1088


What is meant by null and void?

1033


Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx

2178


How to display arraylist values in java?

1065


Can two objects have same hashcode?

1045


What is byte [] in java?

1067


What is difference between wait and notify in java?

1198


What is the differences between heap and stack memory in java? Explain

1029


Why vector class is used?

1032


How is the marker interface used in Java?

1140


How do you represent a space in regex java?

1062


What is the concatenation operator in java?

1202


what do you understand by synchronization? : Java thread

1054