Java Programming and Technical

Q. What is the Java API?

A. The Java API is a large collection of ready-made software components that provide many useful capabilities, such as graphical user interface (GUI) widgets

Read Solution (Total 0)

Java Other Question

Q. What is stored procedure?

A. Stored procedure is a group of SQL statements that forms a logical unit and performs a particular
task. Stored Procedures are used to encapsulate a set of operations or queries to execute on
database. Stored procedures can be compiled and executed with different parameters and results
and may have any combination of input/output parameters
Q. Why there are no global variables in Java?

A. Global variables are globally accessible. Java does not support globally accessible variables due to following reasons:
1)The global variables breaks the referential transparency
2)Global variables creates collisions in namespace