👋Good evening, everyone! Welcome to Day-2 of our JAVA lab session.
Today, we will be continuing with Lab 1. I encourage you all to spend the next 15 minutes attempting the question independently. Remember, the main purpose of this course is to cultivate self-discipline. While it may seem trivial to some, dedicating just one hour of your day to complete the labs I provide will enable you to grasp the fundamental principles of Java coding in less than 2 weeks.
This achievement will undoubtedly mark a significant milestone on your journey. Once you have mastered the basics, you'll be well-equipped to tackle LeetCode questions too.
Today, we will be continuing with Lab 1. I encourage you all to spend the next 15 minutes attempting the question independently. Remember, the main purpose of this course is to cultivate self-discipline. While it may seem trivial to some, dedicating just one hour of your day to complete the labs I provide will enable you to grasp the fundamental principles of Java coding in less than 2 weeks.
This achievement will undoubtedly mark a significant milestone on your journey. Once you have mastered the basics, you'll be well-equipped to tackle LeetCode questions too.
CodeCraft Essentials
Video
The video will take around 10 minutes so i will give you 5 more minute then we will start our exam question session.
This is the end of today's session, and I hope it was helpful. I look forward to seeing you in tomorrow's session.🫡
👋Good evening everyone,
Just a quick heads-up, we're all set to kick off our session in just 10 minutes Make sure to get your working environment ready for the lab. we will try make the most out of this session together! 😊💪
Just a quick heads-up, we're all set to kick off our session in just 10 minutes Make sure to get your working environment ready for the lab. we will try make the most out of this session together! 😊💪
Today, we will continue with Lab 2. I encourage you all to spend the next 15 minutes attempting the question independently
what is the value if the following code is executed(Assume the value entered by user is 18)?
import java.util.*;
public class calculate {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int num1, num2;
num2 = 6;
System.out.println("Enter value: ");
num1 = sc.nextInt();
num1 = num1 + 2;
num2 = num1 / num2;
System.out.println("Result = " + num2);
}
}
What are the values of numFruit, numOrange and numApples respecively after the following code is excuted:
int numOrange = 5;
int numApple = 10;
int numFruit;
numFruit = numOrange++ + numApple + ++numOranges;
What is the output after the following code is excuted?
char grades = 'B';
switch(grades){
case 'A':
System.out.println("A ");
Break;
case 'B':
System.out.println("B ");
case 'C':
System.out.println("C ");
Break;
default:
System.out.println("F ");
}
Today's questions can be quite tricky, especially for those who approached them with a Python mindset. 🤔
That was all for today have a good night and see you on tomorrow's session✌️
🔔Greetings, everyone!
I wanted to give you a friendly reminder that our session will begin in a mere 10 minutes. Please ensure that your working environment is prepared for the lab. Let's make the most of this session together! 😊
I wanted to give you a friendly reminder that our session will begin in a mere 10 minutes. Please ensure that your working environment is prepared for the lab. Let's make the most of this session together! 😊
Today, we will be proceeding with Lab 3. I highly encourage each of you to dedicate the next 15 minutes to independently tackling the question.