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

Which type of driver provides jdbc access via one or more odbc drivers?

597


What is the execute method in java?

626


What is encrypted connection?

609


Is jdbc part of j2ee?

613


What are the differences between resultset and rowset?

600






What is the purpose of jdbc?

672


Does sql allow null values ? Can we use it within where clause ?

604


How to connect multiple database in jdbc?

589


Does the JDBC-ODBC Bridge work with Microsoft J++?

1948


Give an example of code used for setting up connection with a driver.

593


What is db client?

569


How to connect html page to database using jdbc?

562


Prepared statements are faster. Why?

689


Can we return resultset in java?

563


What is meant by jdbc?

594