What is a default constructor and also define copy contrucyor?
No Answer is Posted For this Question
Be the First to Post Answer
How to print an arraylist in java?
What is connection class in java?
What is the meaning of flag day?
What java is used for?
can we override the main() method in java????
3 Answers Vimukti Technologies,
Can you write a java class that could be used both as an applet as well as an application?
What is AppletStub?
This is my code i have a doubt class ab implements a,b { public void add() { System.out.println("Hi") } } interface a { public void add(); } interface b { public void add(); } in this code i have two interface implemented in the class has same method.just i want to know which method of interface implemented in the class. interface a or interface b? confused me .
What do you understand by overloading and overriding in java?
Can we define private and protected modifiers for variables in interfaces?
What is a copy constructor in java?
Can a constructor call another constructor?