What is casting ?

Answers were Sorted based on User's Feedback



What is casting ?..

Answer / niranjanravi

casting is used to convert the value of one data type to
another.

Is This Answer Correct ?    6 Yes 0 No

What is casting ?..

Answer / ravikiran(aptech mumbai)

casting is a process of converting a bigger datatype to fit
inside a smaller datatype

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Core Java Interview Questions

What is the largest number a double can hold?

0 Answers  


What is the java project architecture?

0 Answers   IBM,


What are the types of collections in java?

0 Answers  


Can memory leak in java?

0 Answers  


Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.

0 Answers  






How many bits are in a sentence?

0 Answers  


What is primitive array?

0 Answers  


84. try { 85. ResourceConnection con = resourceFactory.getConnection(); 86. Results r = con.query(”GET INFO FROM CUSTOMER”); 87. info = r.getData(); 88. con.close(); 89. } catch (ResourceException re) { 90. errorLog.write(re.getMessage()); 91. } 92. return info; Which is true if a ResourceException is thrown on line 86? 1 Line 92 will not execute. 2 The connection will not be retrieved in line 85. 3 The resource connection will not be closed on line 88. 4 The enclosing method will throw an exception to its caller.

1 Answers  


What is the use of jtable?

0 Answers  


What are the major advantages of internal iteration over external iteration?

0 Answers  


What is the purpose of a transient variable?

0 Answers  


How to create packages in java?

0 Answers  


Categories