Where are the local variables stored?
No Answer is Posted For this Question
Be the First to Post Answer
Is an empty arraylist null?
What is hashset in java?
What is OOP's Terms with explanation?
What are the differences between the constructors and methods?
What is the purpose of void?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
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 difference between equals and hashcode method?
How many arguments can be passed to main ()?
Which is illegal identifier in java?
if we give input as " hi how are you" then the output should be "uoy woh"...it should skip odd words in the input and should reverse even words from the end of string...can anyone help me to write this program in java
How do you declare an empty string?