جافا Java
Kanalga Telegram’da o‘tish
ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم
Ko'proq ko'rsatish6 320
Obunachilar
-324 soatlar
-127 kunlar
-6030 kunlar
Postlar arxiv
6 319
What is the output of the following Java code snippet demonstrating the concept of method overriding?
class Vehicle {
void run() {
System.out.println("Vehicle is running");
}
}
class Bike extends Vehicle {
void run() {
System.out.println("Bike is running safely");
}
}
public class Test {
public static void main(String[] args) {
Bike obj = new Bike();
obj.run();
}
}
ما هو مخرج الشفرة البرمجية جافا التالية التي توضح مفهوم إعادة تعريف الطريقة؟6 319
Identify and correct the error in the following Java code snippet to demonstrate the correct use of an abstract class.
abstract class Animal {
abstract void eat();
}
class Dog extends Animal {
void eat() {
System.out.println("Dog eats");
}
}
public class TestAnimal {
public static void main(String[] args) {
Animal a = new Dog();
a.eat();
}
}
حدد وصحح الخطأ في الشفرة البرمجية جافا التالية لتوضيح الاستخدام الصحيح للصف المجرد.6 319
Which keyword is used by the method to refer to the object that invoked it?
6 319
Which of the following is a valid declaration of an object of class Box?
6 319
Which concept of Java is a way of converting real world objects in terms of class?
6 319
What is the output of the following Java code snippet demonstrating the concept of method overriding?
class Vehicle {
void run() {
System.out.println("Vehicle is running");
}
}
class Bike extends Vehicle {
void run() {
System.out.println("Bike is running safely");
}
}
public class Test {
public static void main(String[] args) {
Bike obj = new Bike();
obj.run();
}
}
ما هو مخرج الشفرة البرمجية جافا التالية التي توضح مفهوم إعادة تعريف الطريقة؟6 319
Which of the following is not a valid way to create an instance of a class named `MyClass` in Java?
6 319
Consider the following Java code snippet. What will be the output?
class Base {
void display() {
System.out.println("Base display()");
}
}
class Derived extends Base {
void display() {
System.out.println("Derived display()");
}
}
public class Test {
public static void main(String[] args) {
Base obj = new Derived();
obj.display();
}
}
فكر في الشفرة البرمجية جافا التالية. ماذا سيكون المخرج؟6 319
What is the output of the following Java code?
```java
System.out.println(10 > 9); ```
6 319
In Java, what is a 'package' and how is it used?
في جافا، ما هو 'الحزمة' وكيف يتم استخدامها؟
6 319
In Java, what is a 'package' and how is it used?
في جافا، ما هو 'الحزمة' وكيف يتم استخدامها؟
6 319
في جافا لو المتغير private وماحطينا دوال داخل الكلاس للوصول لهذا المتغير هل نقدر نغير او نوصل لهذا المتغير بشكل مباشر من ال main method
Endi mavjud! Telegram Tadqiqoti 2025 — yilning asosiy insaytlari 
