ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
What are access modifiers in Java ?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are access modifiers in Java ?
Answer
# 1
we have 4 access modifiers in java.
public
private
protected
default
 
Is This Answer Correct ?    6 Yes 2 No
Niranjanravi
 
  Re: What are access modifiers in Java ?
Answer
# 2
public 
static 
final
volatile
transient
native
synchronized
 
Is This Answer Correct ?    3 Yes 4 No
Madhu
 
 
 
  Re: What are access modifiers in Java ?
Answer
# 3
Public 
Private
default
protected
 
Is This Answer Correct ?    2 Yes 1 No
Bharathi Devi Kasi
 
  Re: What are access modifiers in Java ?
Answer
# 4
Access modifiers species the scope of the access of a
particular variable or method
1).public
2).protected
3).private
4).default
 
Is This Answer Correct ?    3 Yes 0 No
Ravikiran(aptech Mumbai)
 
  Re: What are access modifiers in Java ?
Answer
# 5
Public 
Private
default
protected
 
Is This Answer Correct ?    0 Yes 1 No
Uttam Lonkar
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
When try and catch block is used ?  6
how can we use the servlet as standalone apllication?should we need to extend any class? Logica-CMG2
What are Encapsulation, Polymorphism and Inheritance?  2
How to reduce flicking in animation? TCS1
transaction attributes ?  2
How to make a class immutable? Bosch6
How can you debug the Java code? BirlaSoft3
What is the difference between throw and throws?  5
what is the use of custom tags? with example? Photon1
What are the advantages of the model over the event- inheritance model?  1
In Serialization, whether you will use Static variables? HCL2
What primitive Java types? Howmany are they and what are their names?  3
what is the use of finalize()Method please explain with an example  2
what is diffrence between .NET and java?  2
How will you override default serialization mechanism in java  2
what is mean by method signature? Satyam6
What is a Wrapper class?  9
What are the Object and Class that classes used for?  3
What is left shift and right shift?  1
class A{ class B{ } } in which name u save the file,its the program compile? HCL6
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com