What are access modifiers in JAVA?

What are access modifiers in JAVA?

Java provides four access modifiers

Public – The member with public modifier can be access by any other class.
Protected – The member with protected modifier can be accessed by the derived class only.
Private – The member with Private modifier can be accessed within the class.
Default – Default represents Private access in JAVA.
Define Savepoints in a transaction
Define Savepoints in a transaction - Using Savepoint, you can mark one or more places in a transaction and you can perform rollback to one of those...
What are filter class in java?
What are filter class in java? - The filter class in java can manipulate request before reaches to the web server. It can also manipulate response before it reaches the client browser......
How do we consume a web service in java?
How do we consume a web service in java? - Client can consume web services in java in 3 ways...
Post your comment