ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
What is a method ?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is a method ?
Answer
# 1
Methods are functions that operate on instances of classes 
in which they are defined.Objects can communicate with each 
other using methods and can call methods in other 
classes.Method definition has four parts. They are name of 
the method,type of object or primitive type the method 
returns,a list of parameters and the body of the method. A 
method's signature is a combination of the first three 
parts mentioned above.
 
Is This Answer Correct ?    1 Yes 1 No
Janet
 
  Re: What is a method ?
Answer
# 2
A method is used to write the functionality with in a class
 
Is This Answer Correct ?    0 Yes 0 No
Ravikiran(aptech Mumbai)
 
 
 
  Re: What is a method ?
Answer
# 3
Methods are the functions which describe the behaviour of an object
 
Is This Answer Correct ?    1 Yes 0 No
Keerthi
 
  Re: What is a method ?
Answer
# 4
Entity /Identifier that has reference that state of behavior.
 
Is This Answer Correct ?    0 Yes 0 No
Thennavan.m
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
Explain the relationship between the Canvas and Graphics class?  1
if two references are having same hash codes,is that means those are refering to same object? CTS4
Who developed JScript language?  3
In the first round, there are 30 aptitude and 30 java questions. We are suppose to finish both the papers within 60 minutes. I cleared this round. Next was test for programming skills. In this section, Some 7 n's were asked. 1. What is the difference b/w sleep(1000) and wait(1000) 2. what is the diff b/w static block and static function? 3. Write a program to validate IP address using string tokenizer. 4. Write a program to create singleton class 5. write a function to reverse the string 6. Write a prog to print prime nos upto n. EX: If n=9, It shld print 1,2,3,5,7 7. One program on collections- Write a program to print no. of times a number is repeating in an array. EX- {1,3,1,2,5,7,3,7,34,3,8,3} It should print: 1- 2 times 3- 4 times and so on 7. Write a func to print fibonocci series After this I had technical interview, which went on for. 60 mins or so. There were qn's about multi threading, Exception handling and collection classes. Knowledge about collections was very important for the post I was interviewed for. Huawei1
What is clipping?  2
How do you set security in applets? Wipro1
what is Dictionary? and what purpose it is used for?  2
is this possible to create an array of 0 length? if so how? if not so why? coz we have an array in main() likw this "static void main(String [] s) then what it signifies? Hexaware2
Explain Public static void main?  2
how to minimize the functionality to will not force garbage collector?  2
What is the default initialized value of a boolean type variable?  3
How to send a request to garbage collector?  3
suppose string s1="rajnish"; string s2="bhaskar"; then what will be happend ? Fidelity6
By what default value is an object reference declared as an instance variable? Wipro1
what is main difference between architecture,framework and design pattren  1
what is session facade ?  2
can u handle an error if u write Thowable in the catch class lise try { some errorneous code }catch(Throwable e){ ...}  4
Define interface?  2
33. try { 34. // some code here 35. } catch (NullPointerException e1) { 36. System.out.print(”a”); 37. } catch (RuntimeException e2) { 38. System.out.print(”b”); 39. } finally { 40. System.out.print(”c”); 41. } What is the result if a NullPointerException occurs on line 34? 1 c 2 a 3 ab 4 ac  1
who was the founder of java HCL8
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com