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

Enlist few advantages of inheritance?

0 Answers  


How many types of keywords are there?

0 Answers  


What is a literal coding?

0 Answers  


What is nullpointerexception in java?

0 Answers  


List the features of java programming language.

0 Answers  






1.) if we use "private" in place of "public" in public static void main()... 2.) if we use "int" in place of "void".... 3.) can we ommit "static" keyword from that statement.... 4.) also can we give the command line arguments type as int type or float,etc.(.i.e (string args[]))

1 Answers  


When abstract methods are used?

1 Answers  


What is the exact difference in between unicast and multicast object? Where we will use?

0 Answers  


Explain yield() method in thread class ?

0 Answers  


What is meant by controls and types?

1 Answers  


What about interthread communication and how it takes place in java?

0 Answers  


while creating thread why we extend thread class

2 Answers  


Categories