Explain about static nested classes in java?
No Answer is Posted For this Question
Be the First to Post Answer
List some important characteristics on jre
What is Java Reflection API? Why it’s so important to have?
where exactly collections are usefull in realtime
What is Session reduplication and how its done?
What is OOP?
There is a Banking application. It has 2 types of account, Savings and Current. Write a method calculateInterest by passing an ArrayList of these account objects and calculate Interest accordingly. Write code for this situation
Can we use different return types for methods when overridden?
What are Inner classes?
11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println(”B”); } 16. } 17. public static void main(String[] args) { 18. new B().process(); 19. } What is the result? 1 B 2 The code runs with no output. 3 Compilation fails because of an error in line 12. 4 Compilation fails because of an error in line 15.
What is the difference between the paint() and repaint() methods?
What is the difference between an argument and a parameter?
How does hashset works in java?