What are the different types of modifiers?

Answer Posted / keerthana

private-visible to class only.
public-visible to world.
private-visible to package and subclasses.
static-for creating class,methods and variables.
final-for finalizing the implementation of class,methods and variables.
abstract-for creating abstract classes and methods.
volatile-for implementing threads.
synchronized-for implementing threads.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a merge field?

488


java based application for hospital management

3439


How do we call a stored procedure from jdbc?

549


If you are truncated using JDBC, how can you that how much data is truncated?

573


How do we load the drivers?

535






How does a file store compare with a jdbc store?

624


Give an example for getXXX method?

548


What does it mean to "materialize" data?

514


What does the jdbc resultsetmetadata interface?

536


What is the full form of jdbc and what is its purpose?

530


What is jdbc and its types?

491


Why do we need jdbc api?

469


What does jdbc setmaxrows method do?

511


What is java soft framework?

541


What are the differences between stored procedure and functions?

466