List the three steps for creating an object for a class?
No Answer is Posted For this Question
Be the First to Post Answer
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 do we use regex?
What are parent methods and how can you call them?
Difference between operator overloading and function overloading
0 Answers Tavant Technologies, Virtusa,
WAP to illustrate the use of interface
What is the implementation of destroy method in java. Is it native or java code?
How can two threads be made to communicate with each other?
what are the high-level thread states? : Java thread
What is the difference between variable & constant?
What are the actions that can occur when a thread enters blocked state?
What is meant by class loader? How many types are there?
Is Cegonsoft Pvt.Ltd. a good Institute?