system.out.println(1 + 3);
Answers were Sorted based on User's Feedback
Answer / white
hey everybody! i am newbie to java.
but with "system.out.println(1 + 3);" hte answer is
"package system does not exist; || system.out.println(1+3);"
becoz java is case sensitive for that matter. the answer
would be 4 if the syntax started with a capital 'S'.
cheers
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / ravi
Here is Compile time error that is system package not exist
| Is This Answer Correct ? | 16 Yes | 7 No |
Answer / sreedhar
System is class ,println method is streem class,out is
static variable of system class,that staic variable calling
class name.thats why write the System.out.println();
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / g.deepa
In this statment,"system" is initial letter is in captial
(S)and with in the double quotes of numbers or letters only
printing on the screen like "1+3".
so it make a complie time error
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / sushma
Gives Compile time error saying that "system cannot be
resolved"
| Is This Answer Correct ? | 1 Yes | 6 No |
Why set do not allow duplicates in java?
What is package protected in java?
For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green  White will have 1 Weight.  Red and Green carry no weights.  Shortest path is the path with less weight when you add up the weights in the path.
I want to know the host name and provider name for tcs web mail
How can we find the actual size of an object on the heap?
What is persistence ?
Can we start a thread twice in java?
Hi Friends, Can u give few interview questions which relates ArrayList and Hashmap. I mean how to link ArrayList and HashMap.I know this is not good way of asking questions like this , but i need
What is the use of list in java?
What classes of exceptions, thrown by a throw statement?
How to create an immutable class?
What is the use of string and stringbuffer?