Remember
Register
1
new
Chill
new
Puzzles
new
GK
new
Sports
new
Business
Home
Questions
MCQs
Unanswered
Tags
Users
Ask a Question
Write Article
Articles
Connect to us
There are two classes B extends A and C extends B, Can we cast B into C?
0
votes
450
views
Can we do like this
Example
C = (C) B;
java
interview questions
posted
Oct 14, 2016
by
Ahana
Looking for an answer? Promote on:
Your comment on this post:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Preview
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Similar Questions
0
votes
Why there are two Date classes; one in java.util package and another in java.sql?
+1
vote
If we extends the 1 class then which class 1 loaded into memory Base class or Derived class?
+1
vote
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
+2
votes
When can an object reference be cast to an interface reference?
+1
vote
How to convert an int into Integer in java and what is difference between two?
...