what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba
Answer / Vivekanand Ojha
"These terms are related to access modifiers in Java (not SQL). Here's a brief explanation:n- Public: Accessible from anywhere.n- Private: Only accessible within the same class.n- Protected: Accessible within the same package and subclasses of other packages.n- Static: Belongs to the class, not an object. Can be accessed without creating an instance of the class.n- Transient: Marks a field that should not be serialized (ignored during serialization).n- Final: Cannot be reassigned or overridden.n- Volatile: Informs the JVM to check the value of this variable each time it is accessed."n
| Is This Answer Correct ? | 0 Yes | 0 No |
What is rank () in sql?
What are indexes, and what are the different types?
How can we make an if statement within a select statement?
what is 'trigger' in sql? : Sql dba
HOW TO ADD PRIMARY KEY TO TABLE BY PL/SQL PROGRAM
Difference between IN and EXISTS
Define union, minus, union all, intersect ?
Which version of sql do I have?
What is clause in sql?
What is pl sql package?
How toimport .dmp file in lower version of oracle from higher version ?
How do you take the union of two tables in sql?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)