Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Inheritence  RSS feed

 
Ramgopal Reddy
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please send one example to me.

Condition is when i pass the values through main method parametor, those will go to Super class and involked at derived class conditions.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65897
135
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ramgopal, this forum is for Servlet questions. I've moved this post to the Java in General (beginner) forum for you.
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure that I understand your question. It sounds like you need to study about command-line arguments and how to use the super keyword. Hopefully, this gives you some ideas for keywords that you can use in a google search to find more information to solve your problem.

Layne
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!