Next we will send questions that will help you practice for your exams(for software students) this questions are from previous year exams
👍4
which programs are java program compiler and java class interprater in correct order?
Anonymous Quiz
73%
Java Program Compiler (javac) -> Java Class Interpreter (JVM / java)
27%
Java Class Interpreter (JVM / java) -> Java Program Compiler (javac)
How many of you know about Java compilation and execution process?
Anonymous Poll
44%
yes i do know
67%
No i don't know send short note
CodeCraft Essentials
which programs are java program compiler and java class interprater in correct order?
✴️The correct order of programs in the Java compilation and execution process is as follows:
#Java Program Compiler: The Java program compiler, javac, translates the human-readable Java source code (.java files) into bytecode (.class files). This step is performed by running the javac command.
#Java Class Interpreter: The Java class interpreter is the Java Virtual Machine (JVM), which interprets and executes the bytecode generated by the compiler. The JVM loads the bytecode files (.class files) and executes them. This step is performed by running the java command.
To summarize, the correct order is:
Java Program Compiler (javac) -> Java Class Interpreter (JVM / java)
#Java Program Compiler: The Java program compiler, javac, translates the human-readable Java source code (.java files) into bytecode (.class files). This step is performed by running the javac command.
#Java Class Interpreter: The Java class interpreter is the Java Virtual Machine (JVM), which interprets and executes the bytecode generated by the compiler. The JVM loads the bytecode files (.class files) and executes them. This step is performed by running the java command.
To summarize, the correct order is:
Java Program Compiler (javac) -> Java Class Interpreter (JVM / java)
👍1
which java's primitive data types represent in the following groups respectively:
integer, floating points, character, True/False
integer, floating points, character, True/False
Anonymous Quiz
88%
byte, short, int, long ; float, double ; char ; boolean
11%
short, int, long ; float, double ; byte, short, int, long ; boolean
2%
boolean ; byte, short, int, long ; char ; float, double
Thank you all for joining today's session. I hope you found it helpful. Tomorrow, we will continue at the same time and cover one lab exercise as well as three questions from previous year exams. Although this session is primarily focused on software students, it can be beneficial for others as well. We received requests from group members to include exam-related questions, so we have prepared accordingly. If you have any questions, please feel free to inbox us. @coding2222
See you all tomorrow!
See you all tomorrow!
👍1
How was today's session?
Anonymous Poll
100%
It was good let us continue this way
0%
No it wasn't that useful for me
👍2
🔔Hey 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! 😊
👋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 ");
}