Object Oriented Java

champak
₹2,000.00 ₹300.00
  • 27 students
  • 25 lessons
  • 0 quizzes
  • 10 week duration

Object Oriented Java

Java IO Questions.

  1. Differentiate between System.out and System.err.
  2. Explain the difference between print, println and printf
  3. Print the following output
    NAME:PAPPU
    ROLL.NO:25
    PHY MATH CHEM
    75 80 90
    TOTAL:245
    GREAT SCHOOL OF VARANASISolve this using a combination of print and println. Then using printf only.
  4. Use the java.util.Scanner class to solve the following problems.
    1. Read the radius of a circle and print its area and circumference
    2. Read p, r and t. Then print the Simple Interest and Compound Interest.
    3. Given the circumference of a Circle find the radius and then the area
    4. Calculate the area of a triangle given the sides a,b and c.

 

Leave a Reply

Your email address will not be published. Required fields are marked *