NEW
Font size
WorksheetsAndroid Quiz 03
Total questions: 20
Worksheet time: 51mins
firstName is Global Varaible so its Scope is
firstName
هو متغيير عام لذلك مجال الرؤية له
Private
Public
Protected
I do not think so
Student mostafaStudent = new Student("100","Ahmed");
Student ahmedStudent = new Student("200","Mostafa");
String studentName = mostafaStudent.getStudentCode();
The Value of studentName variable is
قيمة متغيير اسم الطالب هي
Mostafa
Ahmed
100
200
if we call Method printEmail then email varaible value will be
عند استدعاء الدالة
printEmail
اذا سيكون قيمة المتغيير
null
Empty
oneMillionArabCoder@gmail.com
not effected
I do not think so
We can Store "Hello World" inside String Variable so its Primitive Data Type
True
False
string myName = "Khalid Ali" ;
so myName varialbe is Empty
بتنفيذ الكود السابق تكون قيمة المتغير
myName
فارغة
True
False
I do not think so
String address = "22 Flowers Street \n Nasr City \n Cairo" ;
we use \n to :
نحن نستخدم العلامة
\n
Make Space
Make Backspace
Make NewLine
I do not think so
String firstName = "Ahmed" ;
String lastName = "Ali" ;
String fullName = firstName & " " & lastName
fullName varialbe equal "Ahmed Ali"
True
False
After Execute this Code , the Value of z is
بعد تنفيذ الكود السابق ستكون قيمة المتغير
z
70
10
60
71
I do not think so
After Execute this Block , the value of x is :
بعد تنفيذ الاكواد السابقة سوف تكون قيمة المتغير
x
10
11
60
I do not think so
After Execute this Code , the Value of z is
بعد تنفيذ الكود السابق ستكون قيمة المتغير
z
70
80
81
I do not think so
After Execute this Code , the Value of Z is
بعد تنفيذ الكود السابق ستكون قيمة المتغير
Z
70
72
6010
I do not think so
Sum(10,50);
int rslt = Sum(20,30);
The Value of rslt is
60
50
1050
2030
I do not think so
Student myStudent = new Student("Mohammed" , "Ali");
String fullName = myStudent.getSStudentFullName();
The Value of fullName is
بتنفيذ الكود السابق ستكون قيمة المتغير تساوي
Mohammed Ali
MohammedAli
Ali Mohammed
I do not think so
if we have image called [1studentPhoto.png] inside folder [drawable] so we can access this photo inside java file by
R.drawable.1studentPhoto
R.drawable.1studentPhoto.png
R.drawable.1studentphoto
R.drawable.1studentphoto.png
i dont think so
Every Time When we call object method , the Constructor will be Executed
كل مرة يتم النداء علي اجراء داخل كائن سوف يتم استدعاء المشيد الخاص به
True
False
may be
i dont think so
TextView txtUsserName = findViewById(R.id.txtUserName);
txtUsserName .****("hello world")
By Execute the Previous Codes , we can change text inside txtUsserName by
بتنفيذ الكود السابق نستطيع تغيير النص داخل الاداة
txtUsserName
باستخدام
setText
SetText
Text
text
i dont think so
we have class A and class B , if we need class B inherit class A , we use keyword ....
inherit
Inherit
extends
Extends
i dont think so
we use this codes to send SMS Message
True
False
we use this Codes to Open Google Maps
True
False
i have one App For Emails installed inside my Device , what happen when i execute the previous Codes
System will open Email App
System will let me choose which app to use
System will send the Email
i dont think so
