Explain about instanceof operator in java?
No Answer is Posted For this Question
Be the First to Post Answer
can we create a instance for intwerface?
Why convert an applet to an application?
How do you check if two given string are anagrams?
what is difference between length and length()?
By what default value is an object reference declared as an instance variable?
What is the use of static keyword in "public static void main()"
10 Answers College School Exams Tests, Infosys, Six Dee Telecom,
What is the difference between reader/writer and inputstream/output stream?
Describe inheritance as applied to java?
Who developed JScript language?
How will you invoke any external process in java?
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 string syntax?