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(101/14)
what is the output?
a)6
b)14
c)7.14
d)0

Answer Posted / arjun

There should be a semicolon(;)at ending of the code...
i.e
System.out.println(101/14);

Then ans wil b 7 only

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is the singleton class used?

1082


Is main an identifier?

1062


Can we use synchronized block for primitives?

1131


if u open login & logout ,how can udisplay the timelogin & logout members ?

2324


What is a predicate method?

1065


What is a null point?

1156


What is indexof in java?

1056


What is the benefit of using enum to declare a constant?

1174


If you do not want your class to be inherited by any other class. What would you do?

1074


How can we break singleton in java?

1020


What is byte code and why is it important to java’s use for internet programming?

1201


Difference between string s= new string (); and string s = "abv";?

1262


What is polymorphism and what are the types of it?

1038


What is function overriding and overloading in java?

1176


What is the difference between JDBC 1.0 and JDBC 2.0?

3230