Search:

Type: Posts; User: Mr.777

Search: Search took 0.12 seconds.

  1. Re: How can I change the values in an object instantiated from an abstract class?

    Then you must read what abstract is. By looking at the current code, you don't need abstract as there is no abstract method in your class, so no need to create it as abstract unless you need to have...
  2. Re: How can I change the values in an object instantiated from an abstract class?

    Might be the logic or forced to do so but you can still make a class abstract without having any abstract method. Well, not the best practice but still allowed.
  3. Re: How can I change the values in an object instantiated from an abstract class?

    You can never instantiate an object of abstract class. For more details read Abstract Methods and Classes (The Java™ Tutorials > Learning the Java Language > Interfaces and Inheritance)
Results 1 to 3 of 3