What are the different types of modifiers?

Answers were Sorted based on User's Feedback



What are the different types of modifiers?..

Answer / subrahmanyam

public
private
protected
static
(Inner classes only)
final
abstract
synchronized
transient
volatile
native

Is This Answer Correct ?    9 Yes 7 No

What are the different types of modifiers?..

Answer / 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

More JDBC Interview Questions

write down exceptions those appear in java programs when u write JDBC Programs?

2 Answers  


What is 2 phase commit?

0 Answers  


Is uri the same as url?

0 Answers  


What is meant by jdbc?

0 Answers  


What is represented by the connection object?

0 Answers  






Are there any ODBC drivers that do not work with the JDBC- ODBC Bridge?

2 Answers  


What is JDBC RowSet? What are different types of RowSet?

0 Answers  


How do we call a stored procedure from jdbc?

0 Answers  


What is in terms of jdbc a datasource?

0 Answers  


What are the different types of resultset?

0 Answers  


what is metadata and it's use?

3 Answers  


What is jdbc oracle thin?

0 Answers  


Categories