GeekInterview.com
  I am new, Sign me up!
 

Java Classes FAQs


Java Classes FAQs

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

 
 Java Classes FAQs
Sorting Options :  

The type of data returned by a method need not be compatible with the return type specified by the method
A) TrueB) FalseExplanation: The type of data returned by a method must be compatible with the return type specified by the method. For example, if the return type of some method is boolean, you could not 

The variable receiving the value returned by a method must also be compatible with the return type specified for the method.
A) TrueB) False 

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

A) TrueB) FalseExplanation: A argument is a variable defined by a method that receives a value when the method is called. 
Latest Answer: I agree with Neeraj's statement. ...

A) ArgumentsB) ClassesC) ConstructorsD) Parameters 
Latest Answer: Yes objects can be created only using constructors if we do not provide one compiler will create a default cons for us thus allocating memory for objects we are going to create and the default values for instance variables are:for integers, float, double, ...

Sometimes a method will need to refer to the object that invoked it. To allow this, Java defines the_____ keyword
A) this B) thatC) theD) and 

A) TrueB) False 
Latest Answer: ya it's false...because...we cant call the static method of a class using a object...call the static method using class name it self only,,,,,then how can we use the this key word inside the static method....... ...

A) TrueB) False 
Latest Answer: True, deallocation is called Garbage Collection ...

By using finalization, you can define specific actions that will occur when an object is just about to be reclaimed by the garbage collector.
A) TrueB) False 

A) InitialisationB) RuntimeC) Garbage CollectionD) None of the above 
Latest Answer: Ans is : Garbage Collection  b'coz  the finalize() method is called by the garbage collector when it determines no more references to the object exist. regars,Supriya Ahire ...

View page << Previous 1 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