Skip to main content

Posts

Showing posts from June, 2022

Why you should invest in cryptocurrency?

  Why you should invest in cryptocurrency? eamesBot/Shutterstock.com                                                                 Many people thought cryptocurrency was just another type of financial fraud when it was initially launched twenty years ago. Everyone at the time assumed it was a ring of con artists attempting to get gullible individuals to invest money they had worked so hard to earn, only to vanish into thin air. Everyone appeared to be wrong, as cryptocurrency is now a reality as well as the future of money and banking. People are investing real money in cryptocurrencies at the same time as financial publications write daily pieces about the bull and bear markets in cryptocurrencies. Companies and even thousands of individuals have a complete GPU setup for cryptocurrency mining, such as the RTX 3090. If y...

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...