What is java virtual machine and how it is considered in context of java’s platform independent feature?
No Answer is Posted For this Question
Be the First to Post Answer
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?
How many types of keywords are there?
I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in
Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?
Explain about static nested classes in java?
What are the Static and Dynamic Variables? Differentiate them.
how jvm allocates memory for stack?
why is S capital in System.out.println ????
What is the difference in between cpp and java? Can u explain in detail?
Can we have two methods in a class with the same name?
How do you use, call, and access a non-static method in Java?
Explain about OOPS concepts and fundamentals.