How is hashcode calculated in java?
No Answer is Posted For this Question
Be the First to Post Answer
which methods consisting of the serilizable interface?
What is an empirical question?
my method "abc" return array of interface "xyz" and "pqr" is abstract class implements abc and class "jkl" extends pqr My problem 1) when i call abc it retrun array xyz how can i do this hint xyz refer_xyz = new jkl(); but i can't create array. 2)I want to access method of jkl using reference of xyz??
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
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
Can we override private method in java?
Define reflection.
What are the different types of constructor?
Is array dynamic in java?
Explain your academic project?
2 Answers Accenture, Levonsys, SDF, TCS, Tech Mahindra,
What is immutable state?
What are void pointers?