What is casting ?
Answers were Sorted based on User's Feedback
casting is used to convert the value of one data type to
another.
Is This Answer Correct ? | 6 Yes | 0 No |
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 |
What is the largest number a double can hold?
What is the java project architecture?
What are the types of collections in java?
Can memory leak in java?
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
How many bits are in a sentence?
What is primitive array?
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.
What is the use of jtable?
What are the major advantages of internal iteration over external iteration?
What is the purpose of a transient variable?
How to create packages in java?