Sunday, October 2, 2016


Member Operator:-

This operator is also called as dot operator and it will represents
the members of a package or class. Syntax:- packagename.classname Eg:- java.lang.System java.lang.String Every class have variables and members, we are using dot operator to represent
the variable of a class and method of a class. Syntax 1:- Variables of a class classname.variable name Eg:- System . out System . err Syntax 2:- Methods of a class classname.method name Eg:- Math . Sqrt()

No comments:

Post a Comment