Skip to main content

Posts

Why you should invest in cryptocurrency?

Recent posts

Java Virtual Machine(JVM)

Java Virtual Machine(JVM) What is the meaning of Virtual? Virtual means Not Reality . it doesn’t physically exist. For example A virtual classroom is a video conferencing tool that allows teachers and students to interact with one another and the learning content. Virtual classrooms differ from traditional video conferencing solutions in that they include additional capabilities that are necessary in a learning environment. What is the meaning of Machine ? Machine means help for your work. then different machines help with different things. Example -Car is a machine. Then what is the meaning of Virtual Machine ? There is a machine but it's not real. it’s virtual. There are two types of Virtual Machine System-Based Virtual Machine(SVM) A single physical machine that allows users to work in multiple virtual environments or instances. These environments are entirely independent of one another. Example -Xen , Hyperviser Application-Based Virtual Machine(AVM) Application Based Virtua...

How Object Behave?

  How Object Behave? Photo by Ellen Qin on  Unsplash Hello everyone, In This article, you will learn about how the state and how to relate to one another. We know about objects and variables. I give you a small reminder class that describes what an object knows and what an object does. A class is not an object. The object is used to create a class. It tells the JVM how to make an object of that particular type. Each object made from that class can have a value for the instance variable. Bates and Sierra, 2005 if you want to remind read my article first. links are here - A Trip to Objects and Classes , Know your Variables . It will help you. you already know that every object of that type can have a different instance variable. what about the method? Can objects of that type have different method behaviour? Every instance of a class has the same methods, but depending on the value of the instance variables, the methods can behave differently. Look at this example. Do...

you better understand Java primitives and references

  Know Your Variables you better understand Java primitives and references Hello everyone, Today you will learn about what is primitives and references. Variables The variable is container holds the value while the Java program is executed. you have used variables in two places. The first one is the instance variable other one is the local variable. Later we will use variables as an argument and as a return type. you have seen the variable declare as a primitive type. Declaring the Variable Let’s see how to declare the variable. Variable must have the type and the name. Don’t mess up. you will understand it while you reading the article till the end. Let’s see what is the Primitive Datatypes The different sizes and values that can be stored in the variable are defined by data types. Data types have two types. primitive data types — These include boolean, char, byte, short, int, long, float and double. non-primitive data types — These include Classes, Interfaces, and Arrays. Data Ty...

Hack the Google Chrome Dino game

  Hack the Google Chrome Dino game Just for Fun Hello there, I’m going to show you how to hack Google Chrome dino’s game. If you don’t have an internet connection you can play a Dino game. Just for fun with this game. You can start the game by pressing the “space bar”, once you do it starts the game and will begin running. The main target avoids the object coming you away which means You should avoid whatever coming to the object such as birds, Cactus. Once you get to hit the object, the game is over. I give you tips to allow your dino game to continue the play the game without any fear. Follow the Steps, Right-click anywhere to screen and select the “Inspect” option 2. After you click the ” Inspect” you can show DevTool. Select the “console” tab in Chrome DevTool 3. Once you click the Console tab paste the following command after that press the “Enter Key” Runner.prototype.gameOver = function(){} if you are interesting, have fun with the Google Chrome Dino game. Stay on ...

You simply understand Java Objects and Classes

A Trip to Objects and Classes You simply understand Java Objects and Classes Photo by Thought Catalog on  Unsplash Hello everyone, In this article, you will learn about Java Objects and Classes. What is an Object in Java? if we consider the real world, we can find objects around us. Examples, computer, car, dog, human, book, bag etc. All these objects have states and behavior. if we consider a dog's state is colour, name, breed and its behaviour is barking, running, wagging. Then Object is an entity that has state and behaviour. An object has an identity. it’s typically implemented in Unique id. An Object is an instance of the class . A class template from which objects are created. What is a Class in Java? A class is a blueprint from which individual objects are created. Syntax of the class class <class_name>{    field;    method; } Thinking about Objects Photo by Jonathan Cosens Photography on  Unsplash Instance Variables of J...