GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  J2EE  >  OOPS
Go To First  |  Previous Question  |  Next Question 
 OOPS  |  Question 27 of 30    Print  
int i;
void main()
{
int j=100,k;
cout<}
what is the output?

  
Total Answers and Comments: 3 Last Update: July 19, 2008     Asked by: dasangampraveena 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
March 10, 2008 04:48:43   #1  
sampra Member Since: February 2008   Contribution: 279    

RE: int i;void main(){ int j=100,k; cout
make ur qus clear
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
April 23, 2008 19:36:01   #2  
jrcheenu Member Since: April 2008   Contribution: 5    

RE: int i;void main(){ int j=100,k; cout
The above program will not compile in java as cout is not defined.
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
July 19, 2008 14:23:28   #3  
AmmiSudipto Member Since: July 2008   Contribution: 1    

RE: int i;void main(){ int j=100,k; cout
void main() is not accessible to JVM. Because it not public and static. JVM has no entry point.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape