Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

How do you stop a thread in java?

0 Answers  


Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).

0 Answers  


How is Object Oriented Programming different from Procedure Oriented Programming?

0 Answers   Amdocs,


What is difference between ++ I and I ++ in java?

0 Answers  


what is the difference between process and thread? : Java thread

0 Answers  






explain local datetime api in java8?

0 Answers  


I declared main() method as private. But it still running and displaying the output. Please Answer it . Code Snippet as Below: import java.io.*; class over { private static void main(String[] args) { int high = Integer.MAX_VALUE; int overflow = high + 1; int low = Integer.MIN_VALUE; int underflow = low - 1; System.out.println(high + "\n" +overflow +"\n"+ low +"\n"+underflow); //System.out.println(overflow); //System.out.println(low); //System.out.println(underflow); } }

4 Answers   Cap Gemini,


What is the difference between object oriented programming language and object based programming language?

0 Answers  


What is a module function?

0 Answers  


What does opcode mean?

0 Answers  


How do you check if a string contains only numeric digits?

0 Answers  


What is tostring () method?

0 Answers  


Categories