Why the java is called platform independent discuss - what


Answer the following questions.

1. Why the Java is called platform independent? Discuss.

2. What are the two most important benefits of the Java language?

3. List out the type of errors occurred in java program.

4. What do you meant by pseudo code? Give example.

5. Define accessor and mutator methods.

6. Define Encapsulation?

7-Find the errors in the following code segments.

7.1

System.out.println(Hello, World!);

7.2

double avg ;
avg=66Z;
System.out.println(avg*2);

7.3

int Km/h = 120;

8. Write one statement to compute the length of a stringstr.

9. Write a Java program that performs the following:

1. Identify the radius of the circle. (radius = 3)

2. Calculate circumference and area of the circle.

3. Print the results.

Request for Solution File

Ask an Expert for Answer!!
Dissertation: Why the java is called platform independent discuss - what
Reference No:- TGS01280361

Expected delivery within 24 Hours