Can you explain the private protected field modifier?
No Answer is Posted For this Question
Be the First to Post Answer
What are data types in oop?
When we serialize an object does the serialization mechanism saves its references too?
Is java a utf 8 string?
When does the compiler supply a default constructor for a class?
explain what is transient variable in java?
can we take more than one null values for Unique constraints.
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
Using callable statement how can you pass out parameters, explain with example?
Does java support function overloading, pointers, structures, unions or linked lists?
Explain tree set and its features?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
String is a immutable objects . it means that string does not change........... But it will be chang......... { String s="kapil"; String s1="raj"; String s=s1; then print(.......) The String has been changed .. how it is possible and why its called immutable objects