File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jun 06, 2005
Jun 06, 2005 23:39:00
what is the syntax of classes in
Joined: Apr 29, 2005
Jun 06, 2005 23:57:00
i think you are looking for how to declare classes in java
access_modifer other_modifers Class Classname
we can interchange the position of access modifiers and other modifers
we cannot declare more than one access modifiers in any defination i.e class and class member
other modifiers include which are valid for class declaration are
abstract final static
1]we should not declare any class abstract and final
2]static keyword comes into play in case of inner classes
Joined: Oct 27, 2004
Jun 07, 2005 08:25:00
I would suggest going through the sun tutorial. You're not going to get very far just knowing the syntax for declaring a class, without knowing what the modifiers mean.
I agree. Here's the link:
subject: classes syntax
How do you instantiate this class?
Compiling many classes
Passed SCWCD with 92%
Can you please explain the syntax
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015