Q61. Is a delegate a type-safe functions pointer?
Ans. Yes
Q62. What is the return type of an event in .NET?
Ans. There is No return type of an event in .NET.
Q63. Is it possible to specify an access specifier to an event in .NET?
Ans. Yes, though they are public by default.
Q64. Is it possible to create a [...]
Tags:JAVA Questions | 64 views
How could Java classes direct program messages to the system console, but error messages, say to a file?
The class System has a variable out that represents the standard output, and the variable err that represents the standard error device. By default, they both point at the system console. This how the standard output could be [...]
Tags:Database Questions | 59 views
- Why is a UNION ALL faster than a UNION?
- What are some advantages to using Oracle’s CREATE DATABASE statement to create a new database manually?
- What are three rules of thumb to create good passwords? How would a DBA enforce those rules in Oracle? What business challenges might you encounter?
- Describe the Oracle Wait [...]
Tags:JAVA Questions | 71 views
Java Access Specifiers
The access to classes, constructors, methods and fields are regulated using access modifiers i.e. a class can control what information or data can be accessible by other classes. To take advantage of encapsulation, you should minimize access whenever possible.
Java provides a number of access modifiers to help you set the level of access [...]