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

What is the full form of jpeg?

613


Can we write method inside a method in java?

649


What is flag in python?

657


What is a parameter in a function?

622


What is the default value of the local variables?

600






Explain the difference between an Interface and an Abstract class?

724


What are internal and external variables?

622


How do you reverse a string in java?

701


How is treeset implemented in java?

593


Can we create object of inner class in java?

570


Why super is first line in java?

651


How to sort an array from smallest to largest java?

639


Why synchronization is important?

670


What is the main purpose of serialization in java?

638


Is string thread safe in java?

690