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 do heavy weight components mean in java programming?

527


What are the uses of synchronized keyword?

558


What is the file type?

561


What is the importance of hashcode() and equals() methods?

585


Why is java called the platform independent programming language?

582






Are constructors methods?

573


How do you write methodology?

566


What is substring in java?

621


What is null object in java?

574


What is output buffer?

572


What is the relationship between class and object?

529


What are basic data types?

563


How can I right-justify a string?

629


What is floating data type?

541


I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?

646