AFRICA CODER
Kanalga Telegram’da o‘tish
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
Ko'proq ko'rsatishMamlakat belgilanmaganTexnologiyalar & Aralashmalar67 893
770
Obunachilar
Ma'lumot yo'q24 soatlar
Ma'lumot yo'q7 kun
Ma'lumot yo'q30 kun
Postlar arxiv
770
Description: material for Python for those only , asking python books‼️
Size: 4.2 MB
https://t.me/Africacoder 🙏
770
------PART 1-----
👉👉Learn HTML5-Web Forms🧑💻🧑💻
🎬video size:224.1
🎧🎤Language: English
ተራ ቁጥር : 1
770
just to advance in knowledge.....try this about @algorithm. ✌️
SHARE AND JOIN https://t.me/Africacoder
HAVE A NICE DAY😊
770
------------🧑💻🧑💻🧑💻🧑💻🧑💻JAVA🧑💻🧑💻🧑💻🧑💻🧑💻🧑💻----------
LESSON 13: EXCEPTION HANDLING IN JAVA
🖇 Exception handling is one of the most important feature of java programming that allows us to handle the runtime errors caused by exceptions.
✂️An Exception is an unwanted event that interrupts the normal flow of the program.
Java try and catch
The try statement allows you to define a block of code to be tested for errors while it is being executed.
The catch statement allows you to define a block of code to be executed, if an error occurs in the try block.
public class Main {
public static void main(String[ ] args) {
try {
int[] myNumbers = {1, 2, 3};
System.out.println(myNumbers[10]);//this num is not found in the array
} catch (Exception e) {
System.out.println("Something went wrong.");
}
}
}
THERE ARE 2 PRIMARY EXCEPTION TYPES:
1️⃣ Checked Exception
2️⃣ Unchecked Exception
https://t.me/Africacoder
770
Repost from EvoNext
Q2:Which of the following is true about Java’s enhanced for statement? Choose one.
770
Repost from EvoNext
Q1: Which of the following is the correct syntax for writing a methode with parameters?
770
Repost from EvoNext
Q2: Which is the correct syntax to declare scanner class object?
770
Repost from EvoNext
LTC2.Which of the following is incorrect method to subtract a value of 1 from the variable 'i' ?
