Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Reading the value and adding unique name

  1. #1
    Junior Member
    Join Date
    Feb 2021
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Reading the value and adding unique name

    Hi i need to read the value from the table in all the pages and create a method where on Adding the user name - the new username should be unique everytime.
    Can someone pls let me know how to do this.

    Need quick help... can someone pls give your inputs
    Last edited by sandhya77; February 2nd, 2021 at 03:18 AM.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    24,071
    Thanks
    53
    Thanked 2,614 Times in 2,564 Posts

    Default Re: Reading the value and adding unique name

    Can the name end with a number? For example: name1, name2, name3 ...
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Re: Reading in data from a text file and adding to ArrayList
    By planetHollywood in forum What's Wrong With My Code?
    Replies: 1
    Last Post: December 21st, 2017, 07:01 PM
  2. Reading in data from a text file and adding to ArrayList
    By maiestas in forum File I/O & Other I/O Streams
    Replies: 9
    Last Post: April 24th, 2014, 08:16 PM
  3. [SOLVED] Reading file and adding it to an array through a method
    By PeskyToaster in forum Collections and Generics
    Replies: 20
    Last Post: November 10th, 2011, 01:16 AM
  4. unique identifier
    By jack_nutt in forum Java Theory & Questions
    Replies: 25
    Last Post: June 20th, 2011, 06:27 AM

Tags for this Thread