can we write implementation for a method with in another
method?

Answer Posted / krish

No, you cannot implement a method in side a method.it gives
you a compile error.

Is This Answer Correct ?    5 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?

1659


Do I need to import javlang package any time? Why ?

721


how i secure my site with the https protocol.what are the steps?

1824


Write a program to show synchronization?

774


Is it possible to stop the execution of a method before completion in a sessionbean?

707






What happens when a thread cannot acquire a lock on an object?

635


What class is the top of the awt event hierarchy?

688


Can you give me a simple example of using the requiredif validator rule?

711


What is the purpose of the notifyall() method?

689


What is glasgow?

667


Define aop(assepct oriented programing)?

739


Explain the steps in details to load the server object dynamically?

4636


What is the relationship between an event-listener interface and an event-adapter class?

643


What is message driven beam?

663


What value does readline() return when it has reached the end of a file?

690