else if(choice == 3){
			
System.out.println("what is your name? ");
			
String name = kb.nextLine(); 
			
boolean x = Member.checkMember(name);
			
System.out.println(x);
		
		
}

when i run this, it prints "what is your name?" and instead of waiting for me type in something, it just skips that part and go ahead and prints x. this code is inside a while loop.

Do you use in your code one of those methods:
kb.nextInt() or kb.next() perhaps?

The solution is very simple, but first let us know if the above is true and what other methods of the scanner class do you use.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.