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

 Print  |  
Question:  int i;
void main()
{
int j=100,k;
cout<}
what is the output?




July 07, 2008 14:23:28 #3
 AmmiSudipto   Member Since: July 2008    Total Comments: 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.
     

 

Back To Question