Why string objects are immutable in java?
No Answer is Posted For this Question
Be the First to Post Answer
What do you understand by Header linked List?
What is loop in java?
What are the object and class classes used for?
Is java a virus?
What is the difference between object oriented programming language and object based programming language?
What is meant by constructor?
When should I use stringbuffer?
Does substring create a new object?
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
Why is stringbuffer called mutable?
basic difference b/w ALL types of JDBC driver.
Can inner class extend any class?