Can java program run without jre?
No Answer is Posted For this Question
Be the First to Post Answer
Difference between a Canvas and a Scroll Pane?.
Explain thread in java?
What is a layout manager and what are different types of layout managers available in java awt?
Define iterator and methods in iterator?
what is object-oriented programming in java?
what are the jsp tags with example?
Is class is a data type?
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 the difference between a threads start() and run() methods? : Java thread
Is heap stored in ram?
Can we convert stringbuilder to string in java?
Is there memory leaks in java?