system.out.println(1 + 3);

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain public static void main(string args[]) in java.

524


Why do we need hashset in java?

486


What is an immutable class?

606


What is difference between stringbuffer and string?

486


What is == and === in javascript?

552






How can we make sure main() is the last thread to finish in java program?

660


What is immutable data?

573


Why spring singleton is not thread safe?

558


what is deadlock? : Java thread

519


Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx

1596


What is a native method in java programming?

519


Differentiate between a class and an object.

556


What are 4 pillers of object orinted programming?

576


What does nullpointerexception mean?

607


Why does it take so much time to access an applet having swing components the first time?

1386