Skip to main content

Posts

Showing posts with the label education

Blockchain: The New Technology of Trust

T hink about a blockchain as a distributed database that maintains a shared list of records. These records are called blocks, and each encrypted block of code contains the history of every block that came before it with timestamped transaction data down to the second. In effect, you know, chaining those blocks together. Hence blockchain Blockchain is the data structure that allows Bitcoin (BTC) and other up-and-coming cryptocurrencies such as Ether (ETH) to thrive through a combination of decentralized encryption, anonymity, immutability, and global scale . It’s the not-so-secret weapon behind the cryptocurrency’s rise, and to explain how blockchain came to be, we have to begin briefly with the legacy of Bitcoin. Welcome to our Blockchain future In the future, viewers will forego paying subscriptions to platforms and can instead give directly to the content providers they love. Creators will therefore receive a larger share of the pie. By allowing the blockchain to use their computer ...

Java Objects & Classes

  Java Objects & Classes : J ava is an Object-Oriented Language. As a language that has the Object-Oriented feature, Java supports the following fundamental concepts − Polymorphism Inheritance Encapsulation Abstraction Classes Objects Instance Method Message Passing Objects in JAVA : Everything in Java is associated with classes and objects, along with its attributes and methods . For example : in real life, a car is an object. The car has attributes, such as weight and color, and methods , such as drive and brake. A Class is like an object constructor, or a “blueprint” for creating objects. Classes in Java A class is a blueprint from which individual objects are created. public class Dog {  String breed;  int age;  String color;  void barking() { …. }  void hungry() { …. }  void sleeping() { …. } } Constructors One of the most important sub topic would be constructors. Every class has a constructor. If we do not exp...