Tuesday
March 31, 2015

Homework Help: Computer Science Java

Posted by Joel Borja on Saturday, August 3, 2013 at 2:46pm.

Alright I have these strings

String domain1 = ". com";
String domain2 = ". edu";
String domain3 = ". org";

I want to make sure that when the user puts in their username (their email) that the domain will be the last four characters. How do I get this to happen? Thank you

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

Computer Science-Java - Hi, I have to write a method that returns my first name...
java.please help - Write a Java program that prompts the user for a string. If ...
computer science /use java language - write the program that inputs a string ...
Computer Science - For this task you will create a program that prints out a ...
Java - Write a method that will take in a String parameter and return true if ...
physics - A ball(mass=3kg) is attached to 2 strings and it is rotated by one ...
physics - A picture hangs on the wall suspended by two strings, with è = 61°. ...
physics - A doubly tethered model airplane of mass 1.0 kg is attached to a ...
Physics - You’ve purchased two identical violin strings. You install one of the ...
Physics - Suppose you pluck a string on a guitar and it produces the note A at a...

Members