The document discusses various aspects of object-oriented programming concepts in Java including classes, objects, properties, primitive types, memory allocation, and variable types. It provides true/false questions and answers about class being a user-defined data type, properties representing data members, objects of the same class having similar attributes, String not being a primitive type, byte type allocating 8 bits of memory, variables in a block being local variables, and static variables being called class variables.
The document discusses various aspects of object-oriented programming concepts in Java including classes, objects, properties, primitive types, memory allocation, and variable types. It provides true/false questions and answers about class being a user-defined data type, properties representing data members, objects of the same class having similar attributes, String not being a primitive type, byte type allocating 8 bits of memory, variables in a block being local variables, and static variables being called class variables.
The document discusses various aspects of object-oriented programming concepts in Java including classes, objects, properties, primitive types, memory allocation, and variable types. It provides true/false questions and answers about class being a user-defined data type, properties representing data members, objects of the same class having similar attributes, String not being a primitive type, byte type allocating 8 bits of memory, variables in a block being local variables, and static variables being called class variables.
members (T/F). 1.TRUE 2. FALSE Objects of same class will have similar attributes (T/F) 1.TRUE 2.FALSE Which of the following is not a primitive type 1.int 2.double 3.float 4.String The memory allocated to a variable of byte type 1.64 2.32 3.16 4.8 The stack memory holds object references (T/F) TRUE FALSE A variable name can start with @ (T/F) TRUE FALSE Variables declared within a block are called Local variable Global variable Instance variable Class variable Variables declared with static are called Local variable Global variable Instance variable Class variable Which of the following is not a variable type 1.Instance variable 2.Class variable 3.Local variable 4.Public variable