Searching for: Type Methods in Java
Ternary Operator
Language: Java

The ternary operator is used to execute code based on the result of a binary condition. It takes in a binary condition as input, which makes it similar to an 'if-else' control flow block. It also, however, returns a value, behaving similar to a method.

Variable Declaration
Language: Java

Used to declare a variable.

HashMaps
Language: Java

Hash maps are used to store key-value pairs. Similar to dictionaries, maps, objects, and tuples in other languages.

User Input
Language: Java

Used to accept text input from the user.


< Previous Page   |