What is lazy initialization in java?
No Answer is Posted For this Question
Be the First to Post Answer
what is difference between abstract and interface? can i give real time example for the two topics?
How to find the largest value from the given array.
What is the function of character?
How can u increase the heap size in the memory?
What is the synonym of framework?
Give me an example of array and linked list? Where they can be used?
What is the difference between C++ and Java and your preferences?
What is string value?
hi to all,i have a question on static block. i saved below as test.java class test extends a { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p as static test static but if i change base class as test class then class test { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a extends test { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p test static explain me why "a static" wasn't print in second code when it is in derived class
Can we create an object of static class in java?
What is the difference between a factory and abstract factory pattern?
java program with complete 4 oops concepts implemented example