Core Java (6529)
Advanced Java (552)
Swing (223)
EJB (402)
Java Networking (49)
Hibernate (1009)
Spring Framework (1486)
Java J2EE AllOther (116) Integer.parse Int(bf.readLine(System.out.println("enter value for n["+m+"]:"))); can it run under this
1 3064when we enter the data in the form how it is stored in formbean class setter and getter methods?
1 4802My Question is that i am using
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?
2 5764
What is multithreading and its advantages?
Why we use hibernate instead of jdbc?
How can you run a servlet program?
What is spring bin?
Explain what do you mean by functional overloading in java?
What is defined as false sharing in the context of multithreading?
Is jpa better than hibernate?
What is a framework? Explain the spring framework.
What is the design pattern used in spring ioc?
what are synchronized methods and synchronized statements? : Java thread
how to write a server program and sending the mails to the server using smtp protocol please help me
How can forward action be used to restrict a strut application to mvc?
What is boolean flag in java?
Why should we use ejb?
Explain public static void main(string args[]) in java.