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  >  Placement Papers  >  HCL

 Print  |  
Question:  what is virtual function?from where java name came ?and what are the applications of java ?



July 07, 2007 00:18:15 #1
 Sumit Bhatia   Member Since: Visitor    Total Comments: N/A 

RE: what is virtual function?from where java name came...
 
Virtual Functions are of two types one is Pure Virtual Function and other is simple Virtual Functions

These functions are mostly used in C++ and C#


Pure Virtual function is

virtual void abc()=0; This will make the class abstract and the object of class cannot be created . and the function must be overwritten in derived class.



Virtual functions are just like normal functions but they are used in Dynamic Polymorphism .

virtual void get()
{


}



Java is a name of Coffee. thats why the logo Cup plate and Smoke.  Originaly it was Oak ( a name of a tree) but due to technical reasons it is converted to JAVA





Its application is

Application Programming, Internet Programming, Remote Components , Distributed Components , Applets, Mobile Programming

its is broadly in three categories

J2SE
J2EE
J2ME


Ok

Sumit Bhatia
Director
Bhatia Technologies
www . anymations . com
ISO 9001:2000 Certified Company
     

 

Back To Question