chevron_left

Recent posts tagged if-else-statement

0 0 1 min.
**Problem:** ======== Hello I am a new learner of programming. I’ve started with the Java programming language. I am learning step by step. I stuck somewhere in an *if-else* statement. I’ve written a basic program for practice purposes but it’s not...
posted 1 day ago Naymul01 933 points
0 0 1 min.
**Problem:** ======== I understand the basic flow of an if-else statement very well. Today I was reading somewhere that it is possible to set a ternary condition using the if-else statement. Let’s say, I have a set of conditions like below: if ...
posted Oct 20 Naymul01 933 points
0 0 1 min.
**Problem:** ======== Hello guys, I am new to python language and just complete the list concept in python and wanted to learn list comprehension and have learned about it but when I tried to implement one of the programs of, I am not able to implem...
posted Oct 11 Naymul01 933 points
0 0 1 min.
Problem: I understand the basic flow of an if-else statement very well. Today I was reading somewhere that it is possible to set a ternary condition using the if-else statement. Let’s say, I have a set of conditions like below: if i > 100: ...
posted Sep 21 sam_dev 69 points
0 0 2 min.
In programming, the decision constructs are used to execute one block of code if a condition is true and another block if a condition is false or another condition is true. In many online quizzes, we come across a question that asks the optional stat...
posted Aug 7 Hafsa_Rao 390 points
6 0 1 min.
NullPointerException:In java, a Null pointer exception is a run time exception. It is thrown by the compiler when a reference variable is accessed or is not pointing to any object. These types of errors are usually resolved by try and catch block or ...
posted May 23 Huzaifa-Glitch 41 points
To see more, click for the full list of questions or popular tags.