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

If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

0 Answers  


what's the basic's in dot net

0 Answers   informatics,


Do you know about multiple inheritance?

0 Answers   Motorola,


What is difference between class and object with example?

0 Answers  


Why u change company?

12 Answers   BOB Technologies,






What is abstraction in oop?

0 Answers  


What is inheritance in simple words?

0 Answers  


what is virtual function?

26 Answers   Aspire, HP, Infosys, RoboSoft, TCS,


What is polymorphism ? Explain with examples

8 Answers   Ness Technologies,


what is object oriented programming and procedure oriented programming?

3 Answers  


what is the difference between ERROR and EXCEPTION?

14 Answers   NIIT, nvidia,


which is platform independent device used in computers

2 Answers  


Categories