Can a private method be declared as static?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Explain method local inner classes ?

0 Answers  


How to access a method that it declared as protected?

3 Answers  


Can a class have 2 constructors?

0 Answers  


what is the difference between String s="hello"; and String s=new String("hello");?

3 Answers  


What are the rules for naming an array?

0 Answers  






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?

0 Answers   RBS, TCS,


What is the difference between a static and a non-static inner class in java programming?

0 Answers  


Explain notifyall() method of object class ?

0 Answers  


What is the abstract class?

0 Answers  


what is the use of custom tags? with example?

1 Answers   Photon,


What is classes in java?

0 Answers  


What is string in java with example?

0 Answers  


Categories