can we access the method of class without creating the
object of the class
Answers were Sorted based on User's Feedback
Answer / chanki
using static member(static)before d methode name,we can
directly call dat method widout creating object of dat
class..
for mat should be:
classname.methodname();
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / mmrps
Not possible but abstract class methods can access with out
creating object.The normal class methods with out accessing
that class object.
Is This Answer Correct ? | 2 Yes | 7 No |
In java, how we can disallow serialization of variables?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
How do you reverse sort a list in java?
what is the use of thread?Justify it by project point of view
What are the access modifiers in java?
What is run time allocation?
What is a nested structure?
What is difference between string and stringbuffer?
What two classes are used to read data only?
0 Answers TryTechnicals Pvt Ltd,
what is bytecode ?explain in detail and watz the difference between bytecode and machine code?
What is the default value of byte datatype in java?
How to sort an array from smallest to largest java?