diff --git a/CONTRIBUTERS.MD b/CONTRIBUTERS.MD index 4c29f9f..19f5887 100644 --- a/CONTRIBUTERS.MD +++ b/CONTRIBUTERS.MD @@ -33,3 +33,4 @@ | prasad-333 | [@prasad-333](https://github.com/prasad-333) | 1 | | JanFidor | [@JanFidor](https://github.com/JanFidor) | 1 | | libialany | [@libialany](https://github.com/libialany) | 1 | +| Manan Dhiman | [@MananDhiman](https://github.com/MananDhiman) | 1 | \ No newline at end of file diff --git a/Languages/Java/questions.json b/Languages/Java/questions.json index fd8921b..2d2bd00 100644 --- a/Languages/Java/questions.json +++ b/Languages/Java/questions.json @@ -187,6 +187,33 @@ "trueOrFalse": true, "shortAns": "No", "tag": "Java" + }, + { + "id": 21, + "question": "Does Java allow use of Pointers like C/C++?", + "details": "A pointer is a data type that can store the memory address of another variable. It essentially points to the location of that variable in the memory.", + "questionType": "bool", + "trueOrFalse": false, + "shortAns": "No", + "tag": "Java" + }, + { + "id": 22, + "question": "Is Java platform-independent?", + "details": "Platform independence means code written once can be run on multiple platforms or machines.", + "questionType": "bool", + "trueOrFalse": true, + "shortAns": "Yes, Java is platform-independent", + "tag": "Java" + }, + { + "id": 23, + "question": "Are Integer and String primitive data types?", + "details": "Primitive data types are predefined data types that define the size and type of standard values.", + "questionType": "bool", + "trueOrFalse": false, + "shortAns": "No", + "tag": "Java" } ] }