Computer Science, asked by taharingnodwala12345, 3 months ago

TERMEZ
SUBJECT: Computers
CLASS: VINO
DATE: 20
MARKS: 40
TIME: 1 Hour
Question 1
Answer the following. (5 marks)
1. Which statement does a Java program begin with if the user has to enter a value for the variable?
2. How many variables do we need to calculate the area of a rectangle? Also, state their datatype.
3. What does "awt" stand for in- import java.awt.Graphics?
4. State the difference between printin and print?
5. Modify the statement given below to print A if the student has scored more than 80.
if (testResult >= 90)
{
grade = 'A';
}
Question 2
Fill in the blanks to complete the following Java Programs. Rewrite the entire program (5 ma
If​

Answers

Answered by daakshesh12
0

4utfke5kj4ke4j4wuhilr63w4oe54at6tlkjut

Similar questions