uk
Feedback
AFRICA CODER

AFRICA CODER

Відкрити в Telegram

We are helping you to learn programming We provide Short Notes, video, and also pdf of Programming Languages Join Our Group And Subscribe For more info. We grow up together!! for any suggestion contact me👉 @bluefannn

Показати більше
Країна не вказанаТехнології та додатки67 893
770
Підписники
Немає даних24 години
Немає даних7 днів
Немає даних30 днів
Архів дописів
The Python compiler is a very refined APP that provides direct functionality for Python beginners and can be used to verify small programs. The software supports directly from the file manager to open the code file, user-friendly viewing!! https://t.me/Africacoder 😊

--------🧑‍💻🧑‍💻🧑‍💻🧑‍💻🧑‍💻🧑‍💻JAVA-------🧑‍💻🧑‍💻🧑‍💻1 LESSON 12: Java Operator Precedence > Operator precedence determines the order in which the operators in an expression are evaluated. > the operator with the highest precedence is operated first. > the multiplication is performed before subtraction > Example: Operator precedence class Precedence { public static void main(String[] args) { int a = 10, b = 5, c = 1, result; result = a-++c-++b; System.out.println(result); } } ‼️What will be the output of the above example❓ SHARE AND JOIN OUR CHANNEL https://t.me/Africacoder

------🧑‍💻🧑‍💻🧑‍💻🧑‍💻🧑‍💻🧑‍💻JAVA----🧑‍💻🧑‍💻🧑‍💻🧑‍💻 LESSON 11:     📁File Class in java🗂       🔗The File class is an abstract representation of file and directory pathname. A pathname can be either absolute or relative.           📝Once you have File object in hand, then there is a list of helper methods which can be used to manipulate the files.        Eg:  public String getName()           public String getParent()           public File getParentFile()       public String getPath()          public boolean isAbsolute() ... and etc.     import java.io.*;      public class LearnTcode {          public static void main(String[] args) {                    try {                  File file = new File("learnTocode.txt");                  if (file.createNewFile()) {                      System.out.println("Join our channel");                  } else {                      System.out.println("File already exists.");                  }              } catch (IOException e) {                  e.printStackTrace();              }                }      }  //output is:   ------------

Repost from EvoNext
public class OperatorPrecedence { public static void main(String[] args) { int a = 7 * 3 + 24 / 3 - 5; int b = (7 * 3) + (24 / 3) - 5; System.out.print(a + ", " + b); } }
Anonymous voting

Repost from EvoNext
Qs: In java , which key word is used to show inheritance in a class?
Anonymous voting

Repost from EvoNext
Q; What is the output of the following code?
Anonymous voting

Repost from EvoNext
Q; What is the output of the following code fragment? int [ ] odd = {1, 3, 5, 7, 9, 11 }; System.out.println( odd[0] + " " + odd[3] ) ;
Anonymous voting

Repost from EvoNext
#Q1, From the statements given below, select the choice which assigns a value to X ?
Anonymous voting

C++ Lecture All in One Addis Ababa uni.pdf3.79 MB

-----------🧑‍💻🧑‍💻🧑‍💻🧑‍💻🧑‍💻JAVA🧑‍💻🧑‍💻🧑‍💻🧑‍💻🧑‍💻🧑‍💻---------- LESSON 10:- INHERITANCE ⚜️Inheritance is one of the basic concept in object orientation in which a new class is created by absorbing an existing class’s members and embellishing them with new or modified capabilities. ✅ The existing class is called the superclass, and the new class is the subclass. Syntax for inheritance class SubClassName extends SuperClassName{}; Why And When To Use "Inheritance"? - It is useful for code reusability: reuse attributes and methods of an existing class when you create a new class. Let's explore by using sample code:- class Vehicle { protected String brand = "Ford"; // Vehicle attribute public void honk() { // Vehicle method System.out.println("Tuut, tuut!"); } } class Car extends Vehicle { private String modelName = "Mustang"; // Car attribute public static void main(String[] args) { // Create a myCar object Car myCar = new Car(); // Call the honk() method (from the Vehicle class) on the myCar object myCar.honk(); // Display the value of the brand attribute (from the Vehicle class) and the value of the modelName from the Car class System.out.println(myCar.brand + " " + myCar.modelName); } } "thanks all!🙏" https://t.me/Africacoder

We wish you a good evening!!😎😎
We wish you a good evening!!😎😎

Python for Non programmers 🎬video size:227.6MB 🎧🎤Language: English 🧑‍💻🧑‍💻 Telegram channel : 👷‍♀👷‍♂ https://t.me/Africacoder 😊

Java Compiler on Android💠 Start programming With your Mobile https://t.me/Africacoder😊 HAVE A NICE DAY🙌

----🧑‍💻🧑‍💻🧑‍💻🧑‍💻🧑‍💻🧑‍💻🧑‍💻JAVA🧑‍💻🧑‍💻🧑‍💻🧑‍💻🧑‍💻----- LESSON 9: POLYMORPHISM The word polymorphism means having many forms. In simple words, we can define polymorphism as the ability of a message to be displayed in more than one form. Types of polymorphism In Java , polymorphism is mainly divided into two types: i.Compile-time Polymorphism 💎This type of polymorphism is achieved by function overloading or operator overloading. But Java doesn’t support the Operator Overloading. ii.Runtime Polymorphism ❤️‍🔥It is a process in which a function call to the overridden method is resolved at Runtime. This type of polymorphism is achieved by Method Overriding. >💗 Java program to demostrate polymorphism class Parent { // Method of parent class void Print() { // Print statement System.out.println("parent class"); } } // Helper class class subclass2 extends Parent { // Method void Print() { // Print statement System.out.println("subclass2"); } } // Class 4 // Main class class GFG { // Main driver method public static void main(String[] args) { // Creating object of class 1 Parent a; // Now we will be calling print methods // inside main() method a = new subclass1(); a.Print(); } } https://t.me/Africacoder 😊

🌿🌿🌿factorial in c++🌿🌿🌿 #include <iostream>   using namespace std;   int main()   {      int i,fact=1,number;       cout<<"Enter any Number: ";      cin>>number;       for(i=1;i<=number;i+) {           fact=fact*i;       }       cout<<"Factorial of " <<number<<" is: "<<fact<<endl;     return 0;   }  

photo content

🎲 Quiz 'C++ quiz : 2' practice from lesson 5-8 🖊 5 questions · ⏱ 45 sec

RESPECT FOR C STUDENTS 😊 መልካም ቀን ቤተሰብ 🙌
RESPECT FOR C STUDENTS 😊 መልካም ቀን ቤተሰብ 🙌

🌿🌿🌿🌿🌿🌿🌿🌿🌿🌿🌿 🙋🙋🙋exercise on loop 🙋🙋 🌿🌿🌿🌿🌿🌿🌿🌿🌿🌿🌿 ⓵.Print the integer numbers from 1 to 10 using for loop. ⓶.write a program to check whether an integer number is prime or not using for loop. ⓷.Print the real numbers from 1 to 2 by 0.2 increment using while loop. ⓸.print the numbers from 1 to 10 using do-while loop ⓹.check whether an integer number is prime or not using do-while loop. ❗❗ Write your answer in commet👇👇❗❗

C++ LESSON 8: ✍🏻✍🏻......🌿🌿🌿......✍🏻✍🏻   Break and continue statement ➾there are two statements break; and continue; ➾it is desirable to skip the execution of a loop for a certain test condition or terminate it immediately without checking the condition.     🌿🌿⓵.break statement 🌿🌿 ➾is used to break loop or switch statement ➾. It breaks the current flow of the program at the given condition ➾In case of inner loop, it breaks only inner loop. ➾break statement is almost always used inside the body of conditional statement inside the loop. 🌿🌿⓶.Continue Statement 🌿🌿 ➾to skip a certain test condition within a loop ➾ It continues the current flow of the program and skips the remaining code at specified condition ➾ It is almost always used inside a conditional statement. Share our channel👇👇 https://t.me/Africacoder