What are the differences between abstract class and interface?
No Answer is Posted For this Question
Be the First to Post Answer
Which data type is class in java?
What is communist flag?
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 u handle an error if u write Thowable in the catch class lise try { some errorneous code }catch(Throwable e){ ...}
Can a method inside a interface be declared as final?
How do I start learning java?
What is double checked locking in singleton?
can u give one sinario when you use Abstract Class and When you use Interface.
What is the use of java?
What is bufferedreader in java?
What is the static variable?
What is class level lock ?