GeekInterview.com
Series: Subject: Topic:
Question: 2 of 38

Call the method to presentation layer

If there is a class library called numbers and method add num.How will you call the method to presentation layer?
Asked by: dhivyapriyab | Member Since Jun-2012 | Asked on: Jun 20th, 2012

View all questions by dhivyapriyab   View all answers by dhivyapriyab

Showing Answers 1 - 1 of 1 Answers
malik_malik

Answered On : Sep 23rd, 2012

View all answers by malik_malik

To call the library number you do following steps First you declare an object of that class and then using that object you call its methods. Example:

Code
  1. Number numobj=new Number();
  2. int res=numobj.ADD(5,9);

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.