Start with JAVA
Do you know what the
first thing we have to start with is?
This is ‘class’ and
which is a keyword. So first we need to know about keywords. There are 50
keywords in java and classified on different terms as below:
|
S No.
|
Type
|
Members
|
|
1)
|
Data Types
|
byte, short, int, long, float, double, boolean, char
|
|
2)
|
Java Files
|
class, extends,
interface, implements, package, import
|
|
3)
|
Method
|
void, return
|
|
4)
|
Object
|
new, super, this,
instanceOf
|
|
5)
|
Flow Controls
|
If, else, switch, break, default, for, while, do, continue
|
|
6)
|
Exception
|
Try, catch, finaly, throw,
throws
|
|
7)
|
Modifiers
|
public, private, protected, static, final, strictFp, abstract,
volatile, synchronized, transient, native
|
|
8)
|
Unused
|
goto, const
|
|
9)
|
Other
|
enum, assert
|
I suggest you to first
remember the types and then there members. You can remember them easily. We
will learn each of the keywords behavior later.
No comments:
Post a Comment