Can a class be declared as static?

Ads
 

Can a class be declared as static?

Hi,

Can a class be declared as static?

thanks,

View Answers

April 11, 2013 at 3:54 PM

hi,

We can not declare a class as static. Method can be declare as static. For more related to classes visit the link

http://www.roseindia.net/java/master-java/classes.shtml

thanks,

Ads









Related Tutorials/Questions & Answers:
Can a class be declared as static?
Can a class be declared as protected?
Advertisements
Can a abstract class be declared final?
Can a main method be declared final?
variables and methods declared in abstract class is abstract or not
Can a method inside a Interface be declared as final?
Can a method inside a Interface be declared as final?
ModuleNotFoundError: No module named 'static3'
ModuleNotFoundError: No module named 'staticx'
ModuleNotFoundError: No module named 'statico'
ModuleNotFoundError: No module named 'statico'
Can a Class extend more than one Class?
there are class A & class B.How can i get members of class A& B?
ModuleNotFoundError: No module named 'statick'
ModuleNotFoundError: No module named 'statick'
ModuleNotFoundError: No module named 'Hatak_Statics'
Abstract Class in Java
Java Abstract Class
ModuleNotFoundError: No module named 'django-foundation-statics'
ModuleNotFoundError: No module named 'Flask-Statics-Helper'
ModuleNotFoundError: No module named 'Flask-Statics-Helper'
Can you create an object of an abstract class?
Can we instantiate abstract class in Java?
ModuleNotFoundError: No module named 'statick-fortify'
ModuleNotFoundError: No module named 'statick-md'
ModuleNotFoundError: No module named 'statick-tex'
ModuleNotFoundError: No module named 'statick-web'
ModuleNotFoundError: No module named 'statick-fortify'
ModuleNotFoundError: No module named 'statick-md'
ModuleNotFoundError: No module named 'statick-tex'
ModuleNotFoundError: No module named 'statick-web'

Ads