Explain 5 io best practices?
No Answer is Posted For this Question
Be the First to Post Answer
How to excute - Interface - Inner class- method can any one tell how to execute/ call this main method public interface abc { static int i=0; void dd(); class a1 { a1() { int j; System.out.println("inside"); }; public static void main(String a1[]) { System.out.println("in interfia"); } } }
What is a static method in java?
what is polymorhism what is inheritance? what is Abstract n Interface? what if two interfaces have same method and a concrete class is implementing both the interfaces. Will there be a compilation error? What are mutable and immutable classes? How can u make a class mutable? when will u use dem ...explain with example? what is overriding and overloading? what is garbage collection? what is Thread? how do dey communicate? what are the different ways of implementing ? have u used any messaging technologies? what is synchronization? what are some additions in java 1.5? what are generics? whst is advanced for loop? what is finally block? can u have a try in finally? yes!! can u have a finally in finally? how do you write junits? when is a object eligible for garbage collection?explain? a = null and b has ref to a will b be eligible to be garbage collected? sql questions like diff joins? how do dey work? exception handling? what is marker interface? what is the need??
why the constructor should be used in class,if there is no constructor what will happen?
What is the final method?
What is array initialization in java?
What is Major and importance difference between for and foreach loop ?
What are the advantages of user defined functions?
What are the six ways to use this keyword?
What is difference between float and double?
What are different exception types exceptions available in java ?
What is the main advantage of passing argument by reference?