Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

core java

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Report post to moderator
1.can a static var and inst var or local var have same var name;
2.While overriding wat are the rules for access specifiers;wat abt less restrictive and more restrictive
 
Ranch Hand
Posts: 1249
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator

Originally posted by sri jaisi:
1.can a static var and inst var or local var have same var name;
2.While overriding wat are the rules for access specifiers;wat abt less restrictive and more restrictive



Although this is not proper forum to discuss these issues, and You are also posting the same thread in Beginners Forum


In Beginners Forum -- overriding.

Why are you re-posting the thread again and again.
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Duplicate closed.
 
I'm not dead! I feel happy! I'd like to go for a walk! I'll even read a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!