What do you understand by classes in java?
No Answer is Posted For this Question
Be the First to Post Answer
Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..
What is Session and cookies?Explain in detail with an example?
Why do we override tostring method in java?
What is java and their uses?
what is the use of reference variable
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
Which method returns the length of a string?
how to accept integer array in java
Is there any difference between nested classes and inner classes?
What is a local block?
Can memory leak happen java?
What is a singleton class? Give a practical example of its usage.