The Artima Developer Community
Sponsored Link

Java Answers Forum
Native Class

2 replies on 1 page. Most recent reply: Aug 5, 2003 10:31 AM by Charles Bell

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Java Learner

Posts: 3
Nickname: learn78
Registered: Aug, 2003

Native Class Posted: Aug 4, 2003 3:39 PM
Reply to this message Reply
Advertisement
Can we use native keyword in the declaration of a class ?


Vincent O'Sullivan

Posts: 724
Nickname: vincent
Registered: Nov, 2002

Re: Native Class Posted: Aug 5, 2003 12:30 AM
Reply to this message Reply
> Can we use native keyword in the declaration of a class ?

Try it and see what the result is. Alternatively, get hold of a language reference book and look up the native keyword.

Either courses of action will do you more good than simply asking someone here to do your homework for you.

Vince.

Charles Bell

Posts: 519
Nickname: charles
Registered: Feb, 2002

Re: Native Class Posted: Aug 5, 2003 10:31 AM
Reply to this message Reply
Refer to this section of the Java Language Specification for keywords:
http://java.sun.com/docs/books/jls/first_edition/html/3.doc.html#229308

Which include:
abstract default if private throw
boolean do implements protected throws
break double import public transient
byte else instanceof return try
case extends int short void
catch final interface static volatile
char finally long super while
class float native switch
const for new synchronized
continue goto package this

Flat View: This topic has 2 replies on 1 page
Topic: final abstract class Previous Topic   Next Topic Topic: applet contact servlet

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use