Values and Data Types
Values and Data Types
a)
b) √2as+u2
c) |ax5 + bx3 + c|
d) √(3x + x2) / (a + b)
e) a3+b3+2ab+2bc+2ca
5) Identify the statements listed below as assignment, increment,
method invocation or object creation statements.
(i) System.out.println(“Java”);
(ii) costPrice = 457.50;
(iii) Car hybrid = new Car();
(iv) petrolPrice++;
8) State the total size in bytes, of the arrays a [4] of char data type and p [4] of float data type.