Programming - Methods in Java

You Are Here :: Home > JAVA > Methods in Java - General Questions

 
7.

____________________ method is from where the execution of the application starts                        


A. main() B. init()
C. start() D. stop()




8.

In Java application, at least one class has at least one _________________ method                        


A. main() B. init()
C. start() D. stop()




9.

In Java parameters are always passed by _____________________.                        


A. value B. reference
C. both D. none




10.

A ___________________ represents a group of statements that perform a task                        


A. method B. class
C. object D. functions




11.

Can method never return more than one value?                        


A. Yes B. No
C. cant say D. may be




12.

The _________________ methods are the methods which act on the instance variables of the class.                        


A. Instance B. Abstract
C. Static methods D. Non Static




« prev

1

2

3

4

5

6

7

8

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on