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 static variable and static method?

Answer Posted / ravikiran(aptech mumbai)

static variable is a class variable which value remains
constant for the entire class
static method is the one which can be called with the class
itself and can hold only the staic variables

Is This Answer Correct ?    43 Yes 63 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What classes of exceptions may be thrown by a throw statement?

1009


What is a native method in java programming?

1109


Implement a stack with push (), pop() and min() in O(1) time.

1159


Why java is used everywhere?

1059


What is locale?

1083


Is stringwriter thread safe?

1048


Can we write any code after throw statement?

1107


Should you use singleton pattern?

992


What is a class in java?

1058


What is difference between path and classpath?

1265


What is the parse method in java?

1170


Can we return null in java?

1218


What is a nullable field?

1091


How do you add an arraylist to an array in java?

1028


What is keyword auto for?

1252