Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Forums
Register
Login
Java
»
Beginning Java
Access instance variables of Abstract class.
Manaf Abdul
,
Greenhorn
May 24, 2016 05:27:00
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
Since abstract class cannot be instantiated therefore you cannot access their variables by creating an object so how do you access the variables of abstract class. Please explain with a simple example .
Tim Cooke
,
Sheriff
staff
May 24, 2016 05:29:26
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
The
Java Tutorial on Abstract Methods and Classes
should cover that for you. They have examples too.
Post by:
autobot
There are 29 Knuts in one Sickle, and 17 Sickles make up a Galleon. 42 tiny ads in a knut:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
This thread has been viewed 575 times.
Similar Threads
How to access methods and instance variables of an abstract class ?
Abstract regular inner class
abstract classes
Tormented by static methods
Why we can't create object to ABSTRACT & INTERFACE classes?
More...
All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 22:36:23
.