PDA

View Full Version : java problem in function



saneha
04-24-2011, 09:30 PM
Often you call the functions with the help of class name without using the object of the specific class, according to my concept of c++ we can only do this only when class declared as a static, i want to know that is it any concept in Java to manipulate the function in this style.waiting 4 ur +ve response.

Vuhelper
04-24-2011, 09:31 PM
Both C++ and Java support class (static) methods or functions that can be called without the requirement to instantiate an object of the class.