What is the use of static keyword in "public static void
main()"
Answer Posted / p.r.gupta
the use of static is for static methods we need not to
create any object,so internally jvm calls like classname.method
Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
Explain restrictions for using anonymous inner classes?
What is tree node in java?
What does jenkins do?
Can a constructor call another constructor?
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.
Can we sort list in java?
what is heap memory?
What is encapsulation in java?
Describe string intern() methodology
What is the right data type to represent a price in java?
What is immutable in java?
What is the difference between variable & constant?
Can extern variables be initialized?
2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?
What is close method? How it's different from Finalize & Dispose?