Home / MCQ Bank / Computer
Computer Data Types And Variables Difficulty: Medium

What is the size of a long variable in Java?

Select the correct option to test your answer:

More Computer Questions

What does the ctime method return in Ruby file I/O? What will be the output of the following Java code snippet? public class AddDemo { public static void main(String args[]) { BigDecimal b = new BigDecimal("23.43"); BigDecimal br = new BigDecimal("24"); BigDecimal bres = b.add(new BigDecimal("450.23")); System.out.println("Add: "+bres); MathContext mc = new MathContext(2, RoundingMode.DOWN); BigDecimal bdecMath = b.add(new BigDecimal("450.23"), mc); System.out.println("Add using MathContext: "+bdecMath); } } A queue follows . . . . . . . . What is the purpose of Hadoop's Knox Gateway in a Hadoop security setup? In a Java web application, what is the purpose of the `@ContextConfiguration` annotation?