The two types of Java programs/applications are? Īns: The two types of Java Applications are 'Internet Applets' and 'Stand alone application'. ĬREATED BY USERS, NO FIXED SIZE, CLASS IS A NON PRIMITIVE DATA TYPE.ĬLASS IS USED TO CREATE VARIOUS TYPES OF OBJECT, CLASS IS A BLUEPRINT OF OBJECTS. ![]() WRAPPER CLASS DEFINITION- PROVIDES THE MECHANISM TO CONVERT PRIMITIVE TO OBJECT AND VICE VERSA.ĬLASS IS CALLED A COMPOSITE DATA TYPE.EXPLAIN. +, –, *, /, >, <, = etc…ģ) Offers many security features to make its program safe and secureĤ) Built in graphics & supports multimediaĦ) Open Product… i.e., freely available to all.ĮNCAPSULATION,DATA ABSTRACTION,INHERITENCE ,POLYMORPHISM ETC. TERNARY OPERATORS, UNARY OPERATOR AND BINARY OPERATOR The formal parameters are those that appear at the point of function declaration or function signature are called Formal parameters. The actual parameters are those that appear at the point of function invocation or function call are called Actual parameters. PARAMETERISED AND NO RETURN TYPE.ALSO HAS THE SAME NAME AS THE CLASS NAME. They can not be used for any other purpose like function name, variable name or object names.ĭEFN OF DEFAULT CONSTRUCTOR- CREATED AT THE TIME OF CREATION OF CLASS. Keywords are the reserved words which convey a special meaning to a language compiler. There are 5 different types of tokens in Java – Tokens are smallest individual units of a Java program. Above is an example of default constructor.Ī parameterized constructor accepts parameters or values in its argument list which initialize the various instance data members of the class. PARAMETERIZED AND NON PARAMETERIZED CONSTRUCTORSĪ constructor that accepts no parameters are called non parameterized constructors, non parameterized constructors that initialize the instance variables to zero, null and empty values are called Default Constructors. A pure function is one that takes objects and/or primitive data as arguments but does not modify the objects hence the return value of such functions are either primitive data or an entirely new object created inside the function.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |