Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to Increment the value of the empid E001 for each and
every employee by using the programe?



How to Increment the value of the empid E001 for each and every employee by using the programe?..

Answer / akshay

Algorithm:
1.Take last used value into string variable.
2. Use String function to remove alphabet from value and store in temp string.
3. convert remaining part into int32.
4. increment by 1.
5. Append temp string and incremented value.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is a class oop?

0 Answers  


what are the disadvantages of C++?

25 Answers   ATS, Infosys, UNI, Wipro,


What is difference between abstraction and encapsulation?

0 Answers  


What is an object?

14 Answers   HCL,


What is the main difference between C++ and Java

11 Answers   TCS,


what are the ways in which a constructors can be called?

0 Answers  


What is abstraction in oops?

0 Answers  


Contrast OOP and SOA. What are tenets of each?

1 Answers   Siebel Systems, Wipro,


What is multiple inheritance? Give Example

6 Answers   Mind Tree,


what is virtual function?

3 Answers  


Why is destructor used?

0 Answers  


The expansion of GNU

3 Answers  


Categories