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

Explain about global variables in Java?

Answer Posted / niranjanravi

Global variables are not possible in java because the
concept of Encapsulation is eliminated here.it is not in
the main() method where we declare variables.

Is This Answer Correct ?    5 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I declare a class as private?

1079


How will you reverse a link list without using recursion?

1029


Can we initialize the final blank variable?

1084


How do you use parseint in java?

975


What is general methodology?

1030


Is array dynamic in java?

920


What is void data type?

974


What is difference between path and classpath variables?

1082


Can a constructor be protected?

1083


what are Hostile Applets?

2069


What is exception handling in java?

1029


What are the 6 mandatory procedures for iso 9001?

1020


What is an iterator java?

1090


What is the access scope of protected access specifier?

987


How many threads can java run?

1105