abstract public or public abstract.

P

pariksheetsharma

Hi all,


abstract public class MyClass{}
public abstract class MyClass{}

both compiles,

Are they one and the same. I mean does the order matter in reality.
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

abstract public class MyClass{}
public abstract class MyClass{}

both compiles,

Are they one and the same. I mean does the order matter in reality.

They are the same.

It is only a matter of preferred style.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top