Wasn't sure about where else to post this so I posted it here :
I got into an argument with my friend about google search being a DBMS, I disagreed because it doesn't fit the definition that we were given or the one on wikipedia and a few more websites. All that google search does it query a...
A sentence has multiple words, right ? When it encounters a space it breaks and prints that word in a line then goes back and prints the other word and so on.
When it encounters stop it will forget all the other words.
----------------------------------------------------------------...
Well the first part of the programs is supposed to keep getting the words that I input over and over again until it encounters the word "stop" and the second bit it has to split the sentence into it's words until it encounters "stop"
But the program keeps asking for input and does nothing, no matter how long the word is. It just keeps requesting input
----------------------------------------------------------
EDIT :
I noticed that I used == to compare strings so I changed all the string comparisons to .equals but it still...
I wrote this program and it keeps requesting input from me, could anyone take a look at it and tell me what's wrong ?
import java.io.IOException;
import java.util.Scanner;
import java.lang.String;
public class StringCW
{
private Scanner in = new Scanner( System.in )...
Thank you very much.So basically all I have to do is remember the class and assigning addresses would be this simple ?
Is there a reputation system on this website ?
Since the second part is arbitrary, does that mean that my address for computer B can also be 111.111.7.111 ?
I was using 222.2.222 as an example answer for computer D (on the right).
So it I can assign computer B to have it's address as 111.2.111 or does the last part change to 112 ? or does the middle part need to be 3 digits as well
and on the right we have class C and the computer would have the address 222.3.222 or something similar ?
I'm sorry if my questions sounds...
I'm guessing that mine is a class A since "Range of first octet (decimal) for class A is 0 - 127"
and based on the information you've provided the 2 computers on the left will have "111.111." as the beginning of their ip addresses