Professional Documents
Culture Documents
SCJP Chapter 1
SCJP Chapter 1
3.methods public abstract .methods of interface cannot be static final strictfp native
5.identifiers : currency,connecting ,letter not number,after that any combi of currency letter
connecting number
10.this refers to the currently executing object,the object running the code where you see the this
reference
12.Any other neoghbour class other than the one that subclassed the class with prtotected
members cannot create an instance of sublass and access protected method,its become like
private to that subclass.
14.access modifiers can't be applied to local variables,lv's can be only marked final.
16. not allowed : abstract with any of these static final private
19.var args : only one in a method and that too last doStuff(String a,int... x)
20.Constructors : don't have return type not even void,can't be static abstract final
22.all number types are made up of 8 bit bytes leftmost is for sign
28.final ref varible can't be reassignes though its state can be changed i.e the object's variables
can be changed.
31.can be declared inside a class or outside and that determines their access syntax