Decision Makings Looping

Java  Decision Makings Looping

3
Created on By wefru

Decision Makings Looping

TEST YOUR SKILLS BRODLY

1 / 10

Q.141 Which of the following is the advantage of BigDecimal over double?

2 / 10

Q.142 Which of the below data type doesn’t support overloaded methods for +,-,* and /?

3 / 10

Q.143 What will be the output of the following Java code snippet?

double a = 0.02;
double b = 0.03;
double c = b - a;
System.out.println(c);

BigDecimal _a = new BigDecimal("0.02");
BigDecimal _b = new BigDecimal("0.03");
BigDecimal _c = b.subtract(_a);
System.out.println(_c);

4 / 10

Q.144 What is the base of BigDecimal data type?

5 / 10

Q.145 What is the limitation of toString() method of BigDecimal?

6 / 10

Q.146 Which of the following is not provided by BigDecimal?

7 / 10

Q.147 BigDecimal is a part of which package?

8 / 10

Q.148 What is BigDecimal.ONE?

9 / 10

Q.149 Which class is a library of functions to perform arithmetic operations of BigInteger and BigDecimal?

10 / 10

Q.150 How to format date from one form to another?

Your score is

The average score is 37%

0%

Leave a Reply

Your email address will not be published.