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

In which ways is driver class is registered with drive manager?

0 Answers  


Which interface handles transaction management in jdbc?

0 Answers  


What class.forname will do while loading drivers of jdbc?

0 Answers  


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

0 Answers  


What is correlated subquery?

0 Answers   emc2, JK Technosoft,






What is a jdbc connection?

0 Answers  


How to check jdbc driver version in websphere?

0 Answers  


What are the steps involved in establishing a connection using jdbc in java?

0 Answers  


How do I check in my code whether a maximum limit of database connections have been reached?

0 Answers  


What are types of resultset?

0 Answers  


What is the use of jdbc?

0 Answers  


Give me some example for getting connection from connection pooling in JBoss Server. Is Connection Pool default in Server or we have to create it? Who can create Connection Pool in a Team. How it will be accessed by the developer code?

1 Answers   TCS,


Categories