Dataset Viewer
Auto-converted to Parquet Duplicate
questions
stringclasses
25 values
text
stringclasses
25 values
who is the instructor
<answer> Mosh <context> Mosh is a software engineer with two decades of experience and has taught over 3 million people how to code and how to become professional software engineers. Lane is the password manager and VPN recommended by Apple and Google and it's a fantastic safeguard for keeping your information secure.
What are you learing in the course
<answer> java Programming <context> Mosh is a software engineer with two decades of experience and has taught over 3 million people how to code and how to become professional software engineers. Lane is the password manager and VPN recommended by Apple and Google and it's a fantastic safeguard for keeping your informat...
what is jdk
<answer> java development tool <context> Java jdk is short for Java development kit and it's basically a software development environment for building Java applications.
what type of programming model is java
<answer> object-oriented programming <context> Java jdk is short for Java development kit and it's basically a software development environment for building Java applications.
what is function
<answer> it is building block in java <context> Java is the smallest building block in Java programs are functions if function is a block of code that performs a task as a metaphor think of the buttons on the remote control of your TV each button performs task functions in programming languages are exactly the same for...
what does java need to run
<answer> java needs jdk 12 <context> Java is the smallest building block in Java programs are functions if function is a block of code that performs a task as a metaphor think of the buttons on the remote control of your TV each button performs task functions in programming languages are exactly the same for example we...
is java platforn independent
<answer> yes <context> How to write and execute your first Java program so let's open IntelliJ IDEA here on the home screen let's create a new project alright on the left side select java and make sure project sdk is not
what is use to create java byte code
<answer> java complier <context> IntelliJ uses the Java compiler to compile our code into a different format called Java bytecode this Java compiler comes with the Java development kit.
what is platform indeoendent
<answer> it means it can run on any system <context> IntelliJ uses the Java compiler to compile our code into a different format called Java bytecode this Java compiler comes with the Java development kit.
what is default access modifers
<answer> public <context> ' So one thing that we saw in the program was access modifier. So these are nothing but modifiers right public as I said this public means the access modifier which shows that hello world could be accessed anywhere throughout your application. Meaning of other phase in some so basically it j...
what is access modifier
<answer> Access modifier is visibility of component or visibility of a class or a method or instance variable <context> Access modifier is visibility of component or visibility of a class or a method or instance variable. In C we have inheritance, right say for example integer integer is a class as I said in object-...
what is static method final
<answer> you can't change the function <context> static method final is nothing but you can't change it final as the name suggests. So final is like its final can't be changed once you have created it. abstract is a non access modifier and what it tries to say is say, for example, you have a shape class by itself w...
what is integrated development environment
<answer> you don't have to type everything when you type S why you could see synchronized coming up here , you don't have to provide implementation of it, you just have the signature of it. <context> When you have this integrated development environment, you don't have to type everything when you type S why you co...
where is instance of class created
<answer> Heap <context> An instance of a class is created in a part of a memory, which is called Heap. So when a space is allocated for an object in the Heap slot for each instance variable is values created. So unlike local variables, which are within the method scope, variable is within the class scope.
what is Constructor
<answer> a method which constricts an object of a class values can be assigned during the Declaration or within the Constructo <context> Constructor is nothing but a method which constricts an object of a class values can be assigned during the Declaration or within the Constructor. In Constructor instance variabl...
what is Non-static Fields instance variable
<answer> Non-static Fields instance variable cannot be referenced from static context <context> Non-static Fields instance variable cannot be referenced from static context. It is rare to use static variables other than declared final and used as public or private constants. It's mostly used for constants and static...
what is primitive variable
<answer> primitive is not object primitive is supported by language itself <context> Each variable in Java has a specific type which determines the size of memory. The set of operations that can be applied to the variable data types can be categorized into two major types primitive and non primitive. So basically p...
what is pointer
<answer> it pointers to address in memory <context> Java doesn't expose the pointer directly. It doesn't give you directly pointed to the memory location, but it gives you the reference variable. So you cannot manipulate memory location directly. You cannot add some values to memory location through pointers or som...
what is ternary operator
<answer> ternary operator is special type of operator <context> When you print a it would print 60 ternary operator, which is nothing but if a is less than b then the value of Should be assigned to tr or the value 200 in this case. The value 200 is been assigned is greater than b.
how many loops are there in Java
<answer> there are 4 types of loops <context> Java has four Loops, which is like after every iteration the value of variable or the iterating variables would be changed and would be checked against a condition and if it meets it would come out or if it made it would execute it again. You have do while construct wh...
what is if else
<answer> If the condition is true, then execute the conditional code or excute th else code <context> If else construct is similar to the ternary operator that we had so you could see here TR is equal to a plus b so basically the value if a is less than b which is in this case a is. equal to 10 and B is equal. to 20 i...
what is java methods
<answer> it defines the operations and behavior of a class <context> n Java methods are defines the behavior of a class and define the operations through group of statements. Methods are more used to have reusability of a block of code that minimize redundancy. A method returns a null or a value using the written st...
what is array
<answer> An array is group of like typed variables that are referred to by a common name. Specific element in an array is accessed by its index <context> An array is group of like typed variables that are referred to by a common name. Specific element in an array is accessed by its index as you could imagine since ...
when is lenght of array set
<answer> The length of the array is set when it is declared and when an array is declared array index gets initialized <context> The length of the array is set when it is declared and when an array is declared array index gets initialized. GBM doesn't do anything different to actually executed. It's nothing different...
when is String
<answer> it is array of characters <context> String is not a primitive data type unlike character character character CHAR. String is the wrapper class to array of characters and this is specifically done so that Java has a mechanism to manage strings. Della strings are stored in string to love Heap area which we al...

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

for trainninf

Downloads last month
5