Which of the following is used with the switch statement?
Anonymous Quiz
7%
do
8%
Exit
15%
Continue
69%
break
👍2
What is the valid data type for variable “a” to print “Hello World”?
switch(a) { System.out.println("Hello World"); }
switch(a) { System.out.println("Hello World"); }
Anonymous Quiz
38%
byte and char
41%
char and long
9%
int and float
12%
byte and short
👍1
Which of the following is not a decision making statement?
Anonymous Quiz
15%
if
10%
if-else
30%
switch
45%
do-while
Which of the following is not OOPS concept in Java?
Anonymous Quiz
55%
Compilation
21%
Polymorphism
10%
Inheritance
13%
Encapsulation
👍1
Which concept of Java is a way of converting real world objects in terms of class?
Anonymous Quiz
28%
Inheritance
23%
Encapsulation
30%
Abstraction
19%
Polymorphism
Which of the following is a valid declaration of an object of class Box?
Anonymous Quiz
11%
new Box obj;
73%
Box obj = new Box();
12%
obj = new Box();
4%
Box obj = new Box;
Which keyword is used by the method to refer to the object that invoked it?
Anonymous Quiz
39%
import
49%
this
9%
abstract
3%
abstract
🤩1
Write a Java program Game.javathat implements the Number Guessing Game.
Your program should use a do..while to display a menu of two options: 1. play game 2. exit game
The menu should continue to appear until the user selects the exit choice
Every time the user plays a new random number in the range 1..10 is generated.
The program asks the player (user) to enter a guess (number). The program should tell the user whether the guess is too high, too low, or correct.
A player has a maximum of three trials. Once the player guesses the number or exceeds three trials, the current round of the game is terminated.
Your program should use a do..while to display a menu of two options: 1. play game 2. exit game
The menu should continue to appear until the user selects the exit choice
Every time the user plays a new random number in the range 1..10 is generated.
The program asks the player (user) to enter a guess (number). The program should tell the user whether the guess is too high, too low, or correct.
A player has a maximum of three trials. Once the player guesses the number or exceeds three trials, the current round of the game is terminated.
جافا Java
Write a Java program Game.javathat implements the Number Guessing Game. Your program should use a do..while to display a menu of two options: 1. play game 2. exit game The menu should continue to appear until the user selects the…
سؤال بسيط ل طلاب برمجه ١ يتضمن تقريبا كل المواضيع حاولو تحلوه
وانا حليته وشرحته في قناتي على اليوتيوب
علشان تتاكدو من الحل
https://youtu.be/u4j9lFJuQ9c
اشتركوا في القناه علشان انزل اسئله ومواضيع بهذا الشكل ونحلها سوى ان شاء الله 🌹
وانا حليته وشرحته في قناتي على اليوتيوب
علشان تتاكدو من الحل
https://youtu.be/u4j9lFJuQ9c
اشتركوا في القناه علشان انزل اسئله ومواضيع بهذا الشكل ونحلها سوى ان شاء الله 🌹
YouTube
Guessing game using java
لعبة تخمين بلغة جافا
👍1🔥1
اللي عنده قناه يوتيوب الحين صار تقدر تعين اسم مستخدم لقناتك بهذا الشكل
https://www.youtube.com/@altmemy
الموضوع خارج نطاق القروب بس يمكن يفيدكم🔥
https://www.youtube.com/@altmemy
الموضوع خارج نطاق القروب بس يمكن يفيدكم
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥3👍2👎1
إعلان ⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️
جهة شبه حكومية تطرح وظيفة لمطوّر JavaFx ذو خبرة (يفضل ٣ سنوات)
الشروط:
- أن يكون المتقدم سعودي الجنسية.
- يفضّل أن يكون المتقدم حاصل على درجة البكالوريوس في تخصص تقني.
- أن يجيد التحدّث باللغة الانجليزية
- أن يكون شغوف وراغب بالعمل بتفاني
ارسل السيره الذاتيه على هذا الإيميل
Careers.dev1@gmail.com
جهة شبه حكومية تطرح وظيفة لمطوّر JavaFx ذو خبرة (يفضل ٣ سنوات)
الشروط:
- أن يكون المتقدم سعودي الجنسية.
- يفضّل أن يكون المتقدم حاصل على درجة البكالوريوس في تخصص تقني.
- أن يجيد التحدّث باللغة الانجليزية
- أن يكون شغوف وراغب بالعمل بتفاني
ارسل السيره الذاتيه على هذا الإيميل
Careers.dev1@gmail.com
👍3