Math.random() [0,1]
Equals compare reference not value , you have to define your own method.
Integer can be use in Boolean compare
Object won’t be deleted , it can be used in next time . until GC think it should collect it .
Pass value is pass reference.
No sizeof because it is portable
Has goto but is not recommended
Upcast and downcast( template)
Whole scope is not allowed in Java
Static method can call non-static method
But if there is reference of an object in static method , it can call non-static method
Math.random() [0,1]
Equals compare reference not value , you have to define your own method.
Integer can be use in Boolean compare
Object won’t be deleted , it can be used in next time . until GC think it should collect it .
Pass value is pass reference.
No sizeof because it is portable
Has goto but is not recommended
Upcast and downcast( template)
Whole scope is not allowed in Java
Static method can call non-static method
But if there is reference of an object in static method , it can call non-static method