Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


system.out.println(1 + 3);

Answers were Sorted based on User's Feedback



system.out.println(1 + 3);..

Answer / sankar

4

Is This Answer Correct ?    24 Yes 11 No

system.out.println(1 + 3);..

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

system.out.println(1 + 3);..

Answer / ravi

Here is Compile time error that is system package not exist

Is This Answer Correct ?    16 Yes 7 No

system.out.println(1 + 3);..

Answer / manoj naidu

4

Is This Answer Correct ?    9 Yes 1 No

system.out.println(1 + 3);..

Answer / shashank

the answer will be 4

i m new at java .
but i compiled it successfully and got 4 as the answer.
thats why i am posting it.

***plz consider System.out.println**** 'S' capital

Is This Answer Correct ?    4 Yes 0 No

system.out.println(1 + 3);..

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

system.out.println(1 + 3);..

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

system.out.println(1 + 3);..

Answer / sushma

Gives Compile time error saying that "system cannot be
resolved"

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More Core Java Interview Questions

What are constants?

0 Answers  


how can you take care of mutual exclusion using java threads? : Java thread

0 Answers  


What are jee technologies?

0 Answers  


abstract class A{ int list []=new int [100]; A(int x,int y){ rondom n=new rondom(); for (int i==;i<100;i++); list [i]=x+r.next int(y-x+1); abstract sort (); abstract binary sarch(int temp); class B extends A{

3 Answers  


How do you sort arraylist in descending order?

0 Answers  


What is private public protected in java?

0 Answers  


What is java literals?

0 Answers  


What are synchronized methods and synchronized statements in java programming?

0 Answers  


Why declare Main() inside the class in java ?

0 Answers   HCL,


What is number data type in java?

0 Answers  


What is the relationship between class and object?

0 Answers  


What is the difference between hashmap and hashtable? What is an interface?

0 Answers  


Categories