|
Question |
Rating |
View Answer |
|
Can we have 3 methods in a single servlet i.e service(), doPost() and doGet() method. If yes, then what method will be called. Tell me the servlet cycle in such cases
|
|
View Answer |
|
When is update method called
|
|
View Answer |
|
What is the difference between C++ & Java
|
|
View Answer |
|
How can we take various inputs from user as int,char,string,float etc ?
|
|
View Answer |
|
What is the difference between the >> and >>> operators? |
|
View Answer |
|
How are the elements of a GridLayout organized? |
|
View Answer |
|
What's new with the stop(), suspend() and resume() methods in JDK 1.2
|
|
View Answer |
|
Discuss the differences between creating a new class, extending a class and implementing an interface; and when each would be appropriate. |
|
View Answer |
|
Can we make construtor STATIC?
|
|
View Answer |
|
What is it object serialization? |
|
View Answer |
|
What is the difference between Grid and GridbagLayout? |
|
View Answer |
|
What is the difference between synchronized block and normal block ?
|
|
View Answer |
|
Difference: AWT, Swing
|
|
View Answer |
|
What is the use of Servlets
|
|
View Answer |
|
What is the interface of thread?
|
|
View Answer |
|
Which Math method is used to calculate the absolute value of a number? |
|
View Answer |
|
What is Synchronisation in threads
|
|
View Answer |
|
let say there are two interfaces like the following
interface int1{ int meth1(); }
interface int22{ int meth1(); }
ok then
i am implementing both of them in a calss as follows
class mycl implements int1,int2 {}
now as the rule says, if a class implements an interface it must complete its signature. now my questions is that if i define meth1(), as that method is in both interface, may i know how can i define both of that methods. please answer me
|
|
View Answer |
|
How an object is serialized in java? |
|
View Answer |
|
What is a native method? |
|
View Answer |