System.out.println(101/14)
what is the output?
a)6
b)14
c)7.14
d)0

Answer Posted / somasekhar

System.out.println(101/14) It will print 7

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?

516


Which sorting algorithm is in place?

535


What type of variable is gender?

542


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

549


What is the set interface in java programming?

623






How do you get length in java?

553


What will be the default values of all the elements of an array defined as an instance variable?

549


What language is an assembler written in?

549


Is hashset ordered?

547


Is java good for beginners?

578


Why is string buffer better than string ?

594


Implement a stack with push (), pop() and min() in O(1) time.

628


What is a variable declaration?

517


What is independent and dependent variables in research?

466


What is difference between char array and string?

525