قناة هندسة الحاسب
836 subscribers
2.29K photos
38 videos
969 files
321 links
1. القناة مخصصة للدراسة ولمقررات القسم وأخباره، يمنع نشر غير ما يتعلق بهذا إلا في حالات استثنائية.

2. يجب استعمال الهاشتاقات لكل مقرر يراد نشر شيء يخصه، وهاشتاق #إعلان للإعلانات.
Download Telegram
#Ec201
محاضرة اليوم.
ملاحظة 💡
لاتوجد توتوريـَال
Java naming conventions:
Class names: Capitalize the first letter in each name (Pascal).

Variables and method names: Lowercase the first word, capitalize the first letter in all subsequent words (camelCase).

Constants: Capitalize all letters.
#EC252
4
مرة مرة بنبعت اسئلة mcq
#EC252
1
A call to a method with a void return type is always a statement itself, but a call to a value-returning method cannot be a statement by itself.
Anonymous Quiz
38%
True
62%
False
1
#ec310 ep13
3
MidtermAnswers (1).pdf
332.9 KB
#EC252 midterm
من نفس المكان الي جاب منه الفاينل سيمسترات فاتوا
3
The ArrayList size is fixed after it is created
Anonymous Quiz
48%
True
52%
False
1
public class Person {

private string name;
private int age;
private int weight;
private int height;

public static Person (string name, int age) {

this.name = name;
this age = age;
weight = 0;
height = 0;

/// rest of code
}
}

is this sequence correct?
3
how many reference variables and objects are created by the following code?

Student studentName, studentId;  studentName = new Student();  Student stud_class = new Student();
Anonymous Quiz
42%
Three reference variables and two objects
36%
Two reference variables and two objects
17%
One reference variable and two objects
6%
Three reference variables and three objects
6
Which provides runtime environment for java byte code to be executed?
Final Results
37%
JDK
50%
JVM
11%
JRE
2%
JAVAC
1
The output? 

public class Test { 
public static void main(String[] args) { 
    int count = 1; 
    while (count <= 15) { 
    System.out.println(count % 2 == 1 ? "***" : "+++++"); 
    ++count; 
        }     
    }      
3
What is the automatic type conversion that java doesn't allow:
Anonymous Quiz
30%
Byte>Long
33%
Char>Float
33%
Float>Long
4%
int>Double
How many objects will be created in the following?

String a = new String(“Interviewbit”);
String b = new String(“Interviewbit”);
Strinc c = “Interviewbit”;
String d = “Interviewbit”;
👍1