You are either not logged in or not registered with our community. Click here to register.
July 28, 2017, 06:11:14 AM
Top RP Sites - Vote Daily

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Click here if you are having problems.
Default Wide Screen Beige Lilac Rainbow Black & Blue October Send us your theme!

Wiki Blogs Dicebot

Author Topic: Java Programmers?  (Read 474 times)

0 Members and 1 Guest are viewing this topic.

Online DoomsdayTopic starter

Java Programmers?
« on: November 21, 2008, 11:35:00 AM »
I'll be taking Java sometime in the near future, but I'm working on it now to get reacquainted to it. I worked on it in HS, so I could jump right in now without too much trouble, but I have ran into a little hiccup.

Code: [Select]
import java.util.Scanner;
public class tbh04_01 {

public static void main (String[] args) {


public static char upperCaseToLowerCase(char ch) {

Scanner scan = new Scanner(;
System.out.print("Enter a character: ");
//ch = scan ???

return ch;

I know how to scan integers and strings and the like, but I completely forgot how to scan characters.

For example, to scan an integer, it would be number = scan.nextInt();

Any help is appreciated.

Offline Vekseid

Re: Java Programmers?
« Reply #1 on: November 21, 2008, 11:40:31 AM »
Just .next(), I believe?

Have not done serious Java work in ages, sorry.

Offline Oniya

  • StoreHouse of Useless Trivia
  • Oracle
  • Carnite
  • *
  • Join Date: Sep 2008
  • Location: City of Roses, PA
  • Gender: Female
  • One bad Motokifuka. Also cute and FLUFFY!
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 3
Re: Java Programmers?
« Reply #2 on: November 21, 2008, 11:47:41 AM »

Online DoomsdayTopic starter

Re: Java Programmers?
« Reply #3 on: November 22, 2008, 12:11:40 AM »
I found my answer via Youtube, but thanks for all of your input.