wHAT IS DEFAULT SPECIFIER IN JAVA
wHAT IS DEFAULT CONSTRUCTOR IN JAVA
wHAT IS DEFAULT METHOD IN JAVA
Answer Posted / rohit
default specifier specifies access level of class
eg:-
class A{
}
this is default
default constructor is constructor with same name as of
class and no arguments
eg: class A{
A()
}
there is no default method in java
| Is This Answer Correct ? | 22 Yes | 5 No |
Post New Answer View All Answers
How many bytes are a float?
Why are pointers not secure?
Why is a string immutable?
Describe 2 different ways to concatenate two strings.
Is there any sort function in java?
What are the core java topics?
What is meant by flickering?
What is executor memory?
How variables are declared?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?
Explain the difference between serializable and externalizable in java?
What is a stringbuilder?
What is thread start?
Write a code to create a trigger to call a stored procedure