Page | 1
Java Programming Questions and Answers
(Expert Solutions)
Q: Assign a Value ANS 🗹🗹: to set the data of a variable (involves the equal sign).
Q: Class ANS 🗹🗹: Describes a particular kind of object. It can contain related methods
and variables.
Q: Double ANS 🗹🗹: A type of variable (or value) that can contain fractions as well as
integers.
Q: Declaration ANS 🗹🗹: A statement that creates a variable, method, or class identifier
and its associated attributes but doesn't necessarily allocate storage for variables or
define an implementation for methods.
Q: int ANS 🗹🗹: An integer value
Q: String ANS 🗹🗹: Sequence of characters
Q: double ANS 🗹🗹: A real number(64 bytes)
Q: float ANS 🗹🗹: A real number(32 bytes)
Q: toUpperCase ANS 🗹🗹: This method converts a character to uppercase.
Q: toLowerCase ANS 🗹🗹: This method converts a character to lowercase.
Java Programming Questions and Answers
(Expert Solutions)
Q: Assign a Value ANS 🗹🗹: to set the data of a variable (involves the equal sign).
Q: Class ANS 🗹🗹: Describes a particular kind of object. It can contain related methods
and variables.
Q: Double ANS 🗹🗹: A type of variable (or value) that can contain fractions as well as
integers.
Q: Declaration ANS 🗹🗹: A statement that creates a variable, method, or class identifier
and its associated attributes but doesn't necessarily allocate storage for variables or
define an implementation for methods.
Q: int ANS 🗹🗹: An integer value
Q: String ANS 🗹🗹: Sequence of characters
Q: double ANS 🗹🗹: A real number(64 bytes)
Q: float ANS 🗹🗹: A real number(32 bytes)
Q: toUpperCase ANS 🗹🗹: This method converts a character to uppercase.
Q: toLowerCase ANS 🗹🗹: This method converts a character to lowercase.