35 Marks Paper
35 Marks Paper
char c = 65;
System.out.println(c);
Values and Data Types - Java
System.out.println(flag);
11. Default value, maximum and minimum value of Byte, Short, int, long, float, double
data types
(a) Math.max()
(b) Math.round()
(c) Math.abs()
(d) Math.sqrt()
(a) Math.pow()
(b) Math.floor()
(c) Math.sqrt()
(d) Math.exp()
a. Define a data type. What are the two broad categories of data types in Java?
i. List all arithmetic operators in Java and give one example for each.
o. List any four string manipulation methods in Java and explain their purpose.
Values and Data Types - Java