Describe the process as to how substring() methodology mechanisms in java.
No Answer is Posted For this Question
Be the First to Post Answer
Can java list contain duplicates?
How do I write a self declaration?
What is fundamental datatype?
What is Recursion Function?
State two differences between C and Java.
interface X{ void m1(); void m2(); } class Child2 extends Object implements X { public void m1(){ System.out.println("Child2 M1"); } public void m2(){ System.out.println("Child2 M2"); } } public class ParentChildInfterfaceDemo { public static void main(String[] args){ X x = new Child2(); X x1 = new Child2(); x.m1(); x.m2(); x.equals(x1); } } Will the above code work? If yes? Can you please explain why the code x.equals(x1) will work as the equals method is called on interface reference vaiable?
Why do we override tostring method in java?
why the constructor should be used in class,if there is no constructor what will happen?
What do you understand by synchronization?
What is a bufferedreader?
What are wrapper classes in java?
Is there any case when finally will not be executed?