Question:
What is static class?
Answer:
Source: CoolInterview.com
static class means the class which has all static methods in it.This makes us not to create the object to call the methods in it.we can directly call the methods in it by using ClassName.methodName() Source: CoolInterview.com
Answered by: suresh kumar | Date: 2/24/2009
| Contact suresh kumar
A class CANNOT be marked static. Things that cannot be marked static are: 1. Constructors 2. Classes 3. Interfaces 4. Local variables Source: CoolInterview.com
Answered by: Satya | Date: 4/6/2009
| Contact Satya
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|