What is basic concept of static in java ?
Answer / narayanarao bp
Static means one per class, not one for each object no matter how many instance of a class might exist. This means that you can use them without creating an instance of a class.Static methods are implicitly final, because overriding is done based on the type of the object, and static methods are attached to a class, not an object. A static method in a superclass can be shadowed by another static method in a subclass, as long as the original method was not declared final. However, you can't override a static method with a nonstatic method. In other words, you can't change a static method into an instance method in a subclass.
| Is This Answer Correct ? | 15 Yes | 0 No |
Does apple use java?
What is the function of character?
List out five keywords related to exception handling ?
what is wrapper class and its uses?
What are the two types of java programming?
Can an integer be a string?
Can we override the overloaded method?
What does || mean in code?
can we add two numbers without using arthematic operators? if possible how?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
what is daemon thread and which method is used to create the daemon thread? : Java thread
How many threads can I run java?