Why null interfaces are used in Java?
Answers were Sorted based on User's Feedback
Answer / guest
Null interfaces can also be called as Tag interface
eg: Serializable,RandomAccess
| Is This Answer Correct ? | 1 Yes | 1 No |
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
What is the primitive type byte?
Name some OOPS Concepts in Java?
Can you access the private method from outside the class?
Name the methods that used to get and set the text label displayed by a Buttonobject?
Why are data types important?
Why char array is preferred over string for storing password?
What's the difference between comparison done by equals method and == operator?
What is numeric promotion?
how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application
How many types of assembly languages are there?
what is main purpose of abstract class?