can we access the method of class without creating the
object of the class
Answer Posted / chanki
using static member(static)before d methode name,we can
directly call dat method widout creating object of dat
class..
for mat should be:
classname.methodname();
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is finalize()? Is finalize() similar to a destructor?
What is the difference between math floor and math round?
What is adapter in java?
How many return statement are allowed in a function?
What is the relationship between clipping and repainting under awt?
What is int lol?
What is the use of join method?
What are the two types of java?
What is stringreader?
According to java operator precedence, which operator is considered to be with highest precedence?
What is map java?
How can you traverse a linked list in java?
What is the same as procedures?
Is char a data type in java?
Why string is immutable or final in java