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  >  Database

 Print  |  
Question:  Difference between Two tier architecture and Three tier architecture?



March 03, 2006 07:25:31 #7
 Ratnesh Chouhan   Member Since: Visitor    Total Comments: N/A 

RE: Difference between Two tier architecture and Three...
 

Hi Here is the ans.

Class Var: Those var. which are associated with the class. e.g. Static var. of any class are class var. They have same value for each object and only one copy of these var. is maitained for all the objects.

Class Myclass

{

                 Static int objectCounter;

}

In java they are initialized with the default value by the compiler and user can initialize them in static block,

Member Var: Those var. which are associated with each object and have different value and different copy for each object. e.g.

Class Myclass

{

        int i;

}

I hope u must have got the answer of ur que...

bye n have a nice day....!

     

 

Back To Question