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 reason behind non static method cannot be
referenced from a static Context?

Answer Posted / sadikhasan palsaniya

static variable and method refer to the class variable and
method and non static method can refer to particular object
and if static method can permit to access non static method
then how can recognize that method belong which object
that's why not accessible.

if any mistake welcome and correct me!!!!!

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is illegal identifier in java?

1138


Can a class with private constructor be extended?

999


How do you write a scanner class in java?

1062


When is the garbage collection used in Java?

1261


What is tree node in java?

1005


What do you mean by hashing?

1164


What are 5 boolean operators?

1248


What is double data type?

986


Does java have a compiler?

1089


What is widening and narrowing in java? Discuss with an example.

1102


What are the advantages of exception handling in java?

1099


Is java an open source?

1023


What is the purpose of using javap?

1154


What is a stringbuffer?

1025


What is the use of jtable?

1166