GeekInterview.com
  I am new, Sign me up!
 

Java Classes FAQs


Java Classes FAQs

Questions: 68
Comments: 182
 Java Classes FAQs Tags
 Showing Questions 51-60 of 68 Questions
<< Previous 2 3 4 5 [6] 7 Next >>
 Sponsored Links

 
 Java Classes FAQs
Sorting Options :  

A) TrueB) False 
Latest Answer: Yes it is true ... Stack works on the Startegy of First In First Out ...

A) Push and Pull B) Push and PopC) Pop and Pull D) Pop and Peep  
Latest Answer: Push and Pop ... is the answer ...

In Java it is possible to define two or more methods within the same class that share the same name, as long as their parameter declarations are different
A) TrueB) False 

A) EncapsulationB) ClassC) InheritenceD) Polymorphism 
Latest Answer:      With method overloading Java supports polymorphism. ...

When an overloaded method is invoked, Java uses the type and/or number of arguments as its guide to determine which version of the overloaded method to actually call
A) TrueB) False 

A) OneB) TwoC) ThreeD) FourExplanation: In general, there are two ways that a computer language can pass an argument to a subroutine. The first way is call-by-value. The second way an argument can be passed 

In the Call-by-value methods of passing an argument to a Subroutine, the value of an argument is copied into the formal parameter of the subroutine
A) TrueB) False 

A) TrueB) False 
Latest Answer: false ...

A) TrueB) False 
Latest Answer: Ans : true.    Recursion is the process which calls itself. ...

What is the output of the following? // A simple example of recursion.class Factorial { // this is a recursive method int fact(int n) { int result; if(n==1) return 1; result = fact(n-1) * n; return result; }} class Recursion { public static void main(String args[]) { Factorial f = new Factorial(); System.out.println("Factorial of 3 is " + f.fact(3)); }}
A) Factorial of 3 is 3B) Factorial of 3 is 6C) Factorial of 3 is 9D) None of the above  

View page << Previous 2 3 4 5 [6] 7 Next >>

Ask A Question
Go Top
 Sponsored Links

 
Sponsored Links

 
Ask Question
You must login to Ask Question or Register your free account

Category:

 
Question Title:


Question in Detail:

Add this to my Subscribed Questions (?)
Send me email when new answer is posted (?)

 
Expert Members
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape